SA-MP Forums Archive
How do i Add custom plates to faction vehicles? - 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)
+--- Thread: How do i Add custom plates to faction vehicles? (/showthread.php?tid=551045)



How do i Add custom plates to faction vehicles? - davidstyle1125 - 16.12.2014

Hello, I wanted to add "Custom Plates" to my server's Factions.

Код:
LSPDVehicles[0] = AddStaticVehicleEx(596, 1601.795898, -1684.209350, 5.631327, 90.0, 0, 1, VEHICLE_RESPAWN);
Could you edit this line with the Plates?


Re: How do i Add custom plates to faction vehicles? - UltraScripter - 16.12.2014

pawn Код:
new Car;
Car = CreateVehicle(vehicleid, x, y, z, a, -1, -1, -1);
SetVehicleNumberPlate(Car, "Test");



Re: How do i Add custom plates to faction vehicles? - UltraScripter - 16.12.2014

For You'r Code:
pawn Код:
SetVehicleNumberPlate(LSPDVehicles[0], "Your Text!!!");