natives.CHANGE CAR COLOUR: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|side = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.CHANGE_CAR_COLOUR
|name = natives.CHANGE_CAR_COLOUR
|parameters = int car, int color1, int color2
|arg1 = int car Vehicle handle.
|parameter1 = int car Vehicle handle.
|arg2 = int color1 Primary color index.
|parameter2 = int color1 Primary color index.
|arg3 = int color2 Secondary color index.
|parameter3 = int color2 Secondary color index.
|desc = change car colour
|usage = change car colour
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:28, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.CHANGE_CAR_COLOUR(int car, int color1, int color2)
The natives.CHANGE_CAR_COLOUR function is used to change car colour.

Parameters

1) int car Vehicle handle.
2) int color1 Primary color index.
3) int color2 Secondary color index.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.