natives.CHANGE CAR COLOUR: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 5: | Line 5: | ||
|name = natives.CHANGE_CAR_COLOUR | |name = natives.CHANGE_CAR_COLOUR | ||
|parameters = int car, int color1, int color2 | |parameters = int car, int color1, int color2 | ||
|parameter1 = int car Vehicle handle | |parameter1 = int car Vehicle handle. | ||
|parameter2 = int color1 Primary | |parameter2 = int color1 Primary color index. | ||
|parameter3 = int color2 Secondary | |parameter3 = int color2 Secondary color index. | ||
|usage = change car colour | |usage = change car colour | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:29, 13 June 2026
Function Client Only ![]()
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.