29.03.2009, 14:45
Its possible.
You should add something that saves the amount of times the paintjob has changed for that player
[color=red]This example will not work! Its just to show you what I'm talking about/color]
or
You should add something that saves the amount of times the paintjob has changed for that player
[color=red]This example will not work! Its just to show you what I'm talking about/color]
pawn Код:
//Player Typed /paint
//I would use random paintjobs if I was you.
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
ChangeVehiclePaintJob(vehicle, random(maxpaintjobnumber);
//This will give a random paintjob. This will be alsmost always different.
pawn Код:
//Player typed /paint
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
ChangeVehiclePaintJob(vehicle, PaintJob[playerid]);
Paintjob[playerid] ++;