setVehiclePaintjob | Multi Theft Auto: Wiki Skip to content

setVehiclePaintjob

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function changes the paintjob on the specified vehicle.

See paintjob for list of supported vehicles. To remove a paintjob from a vehicle, apply paintjob number 3 to it.

Syntax

setVehiclePaintjob ( )

Code Examples

server

This example will set the paintjob of a new sultan to '2'.

newvehicle = createVehicle ( 560, 100, 100, 40 ) -- create the sultan
setVehiclePaintjob ( newvehicle, 2 ) -- change the paintjob

See Also

Vehicle Functions