64
edits
ChrisGame20 (talk | contribs) No edit summary |
ChrisGame20 (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
|games = iv | |games = iv | ||
|type = function | |type = function | ||
|name = natives. | |name = natives.changeCarColour | ||
|parameters = int | |parameters = Vehicle vehicle, int colour1, int colour2 | ||
|parameter1 = int | |parameter1 = Vehicle vehicle The vehicle | ||
| | |parameter2 = int colour1 The primary colour index | ||
|usage = | |parameter3 = int colour2 The secondary colour index | ||
|usage = Change the primary and secondary colours of a vehicle | |||
|return1 = void | |return1 = void | ||
|exampleJS = natives. | |exampleJS = addCommandHandler("paintcar", function(command, params, client) { | ||
natives.changeCarColour(localPlayer.vehicle, 5, 10); | |||
}); | |||
}} | }} | ||
edits