SetVehicleNumberPlate
From SA-MP Wiki
SetVehicleNumberPlate
This function does not work in the current SA:MP version.
Set a vehicle's numberplate.
(vehicleid, numberplate[])
| vehicleid | The ID of the vehicle to set the numberplate of. |
| numberplate | The 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.
- SetVehicleToRespawn: Respawn a vehicle.
- ChangeVehicleColor: Set the color of a vehicle.
- ChangeVehiclePaintjob: Change the paintjob on a vehicle.
