10.08.2016, 13:43
I'm trying make each vehicle has unique plate by using their vehicle id.
Ex:If the vehicle id is 50,I want to make them + 22,so 50+22=72,the plate will be shown 'VEH 72 RP'
How do i do that?
PHP код:
vid = AddStaticVehicleEx(vehicletype,SpawnX,SpawnY,SpawnZ,SpawnRot,Color1,Color2,(30*60),0); // respawn 30 minutes
new numplate_test[32+1];
format(numplate_test,32,"VEH {FF0000}%d RP",vid);
SetVehicleNumberPlate(vid, numplate_test);
How do i do that?