SetVehicleNumberPlate

From SA-MP Wiki

Jump to: navigation, search

SetVehicleNumberPlate


This function does not work in the current SA:MP version.


Set a vehicle's numberplate.


Parameters:
(vehicleid, numberplate[])
vehicleidThe ID of the vehicle to set the numberplate of.
numberplateThe text that should be displayed on the numberplate.


This function does not return a specific value.


Note: The vehicle must be respawned for the changes to take effect.


SetVehicleNumberPlate(GetPlayerVehicleID(playerid), "SAMPFTW");
SetVehicleToRespawn(GetPlayerVehicleID(playerid));

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools