SA-MP Forums Archive
SetVehicleNumberPlate - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetVehicleNumberPlate (/showthread.php?tid=262389)



SetVehicleNumberPlate - whitedragon - 17.06.2011

Hi i'm gone use SetVehicleNumberPlate but i do it before spawning vehicle... but it not work?


Re: SetVehicleNumberPlate - austin070 - 17.06.2011

If you set the plate while it is spawned, you have to respawn it for changes to take effect; you could also set the plate OnGameModeInit.


Re: SetVehicleNumberPlate - Calgon - 17.06.2011

Quote:
Originally Posted by austin070
Посмотреть сообщение
If you set the plate while it is spawned, you have to respawn it for changes to take effect; you could also set the plate OnGameModeInit.
You only need to re-stream the vehicle to anyone who's within streaming distance of the vehicle. You can merely change the vehicle's virtual world temporarily and set it back for the number plate to change.