ChangeVehiclePaintjob

From SA-MP Wiki

Jump to: navigation, search

ChangeVehiclePaintjob


This function allows you to apply a paintjob to a car. There are usually 3 paintjobs: 1,2 and 3, but IDs from 0 to 5 are known to be working.


Parameters:
(vehicleid, paintjobid)
vehicleidThe vehicle ID of which you want to change the paintjob.
paintjobidPaintjob to apply. 0 removes the current paintjob.


Note: Paintjob ID 0 is the mothership on the camper!


This function does not return a specific value.


new veh;
veh = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(veh,2);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools
In other languages