ChangeVehiclePaintjob

Description

Change a vehicle's paintjob (for plain colors see ChangeVehicleColor).

NameDescription
vehicleidThe ID of the vehicle to change the paintjob of.
paintjobidThe ID of the Paintjob to apply. Use 3 to remove a paintjob.

Returns

This function always returns 1 (success), even if the vehicle passed is not created.

Examples

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

Related Functions