Change Vehicle Paintjob
#1

Hello
I have a problem.
How can I use only vehicle.
Not random.
---
I am sorry.
I am a newcomer.
---
Code : (ChangeVehiclePaintjob)
Код:
new rand = random(3); // Will either be 0 1 or 2 (all valid)
ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), rand); // changes the paintjob of the player's current vehicle to a random one
---
Thanks
Reply
#2

Quote:

ChangeVehiclePaintjob(GetPlayerVehicleID(playerid) , 0);

That 0 could be 0, 1, or 2 (depending on if the vehicle has a paintjob). For more information:
https://sampwiki.blast.hk/wiki/Paintjob
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)