SA-MP Forums Archive
Spawn Vehicles With Custom License Plates? - 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: Spawn Vehicles With Custom License Plates? (/showthread.php?tid=55314)



Spawn Vehicles With Custom License Plates? - ICECOLDKILLAK8 - 14.11.2008

I have CWRP and the cars are loaded from MYSQL. I have set up a row n MYSQL called plate which is where i can pstom License Plate for that car.

How would i do it so OnGameModeInit when it loads the cars it applies the custom License Plate


Re: Spawn Vehicles With Custom License Plates? - ICECOLDKILLAK8 - 14.11.2008

Quote:
Originally Posted by Andre9977
After you load the license plate string from a file, you must simply do like this:
pawn Code:
SetVehicleNumberPlate(vehicleid, plate[]);
SetVehicleToRespawn(vehicleid);
Cheers Mate. I knew i was doin something wrong, i wasnt setting it to respawn


Re: Spawn Vehicles With Custom License Plates? - wolfcock - 09.01.2011

well, now you maybe learned that doubleposting is stupid, even though this topic is 2 years old xD


Re: Spawn Vehicles With Custom License Plates? - MadeMan - 09.01.2011

LOL

This thread is 2 years old, some posts deleted, thread starter banned, and you decided to bump?