natives.CREATE CAR GENERATOR: 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 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.CREATE_CAR_GENERATOR | |name = natives.CREATE_CAR_GENERATOR | ||
|parameters = Vec3 position, float | |parameters = Vec3 position, float model, int color1, int color2, int flag, int param4, int param5, int param6, int param7, int flag | ||
|parameter1 = Vec3 position World coordinates (x, y, z). | |parameter1 = Vec3 position World coordinates (x, y, z). | ||
|parameter2 = float | |parameter2 = float model Model identifier. | ||
|parameter3 = int | |parameter3 = int color1 Primary color index. | ||
|parameter4 = int | |parameter4 = int color2 Secondary color index. | ||
|parameter5 = int | |parameter5 = int flag Flag value (0 or 1). | ||
|parameter6 = int | |parameter6 = int param4 Integer value. | ||
|parameter7 = int | |parameter7 = int param5 Integer value. | ||
|parameter8 = int | |parameter8 = int param6 Integer value. | ||
|parameter9 = int | |parameter9 = int param7 Integer value. | ||
|parameter10 = int | |parameter10 = int flag Flag value (0 or 1). | ||
|usage = creates car generator | |usage = creates car generator | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:34, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.CREATE_CAR_GENERATOR(Vec3 position, float model, int color1, int color2, int flag, int param4, int param5, int param6, int param7, int flag)
The natives.CREATE_CAR_GENERATOR function is used to creates car generator.
Parameters
| 1) | Vec3 | position | World coordinates (x, y, z). |
| 2) | float | model | Model identifier. |
| 3) | int | color1 | Primary color index. |
| 4) | int | color2 | Secondary color index. |
| 5) | int | flag | Flag value (0 or 1). |
| 6) | int | param4 | Integer value. |
| 7) | int | param5 | Integer value. |
| 8) | int | param6 | Integer value. |
| 9) | int | param7 | Integer value. |
| 10) | int | flag | Flag value (0 or 1). |
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.