natives.CREATE CAR GENERATOR: Difference between revisions

(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|side = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.CREATE_CAR_GENERATOR
|name = natives.CREATE_CAR_GENERATOR
|parameters = Vec3 position, float radius, int param, int param, int param, int param, int param, int param, int param, int param
|arg1 = Vec3 position World coordinates (x, y, z).
|parameter1 = Vec3 position World coordinates (x, y, z).
|arg2 = float model Model identifier.
|parameter2 = float radius Radius in units.
|arg3 = int color1 Primary color index.
|parameter3 = int param Integer parameter.
|arg4 = int color2 Secondary color index.
|parameter4 = int param Integer parameter.
|arg5 = int flag Flag value (0 or 1).
|parameter5 = int param Integer parameter.
|arg6 = int param4 Integer value.
|parameter6 = int param Integer parameter.
|arg7 = int param5 Integer value.
|parameter7 = int param Integer parameter.
|arg8 = int param6 Integer value.
|parameter8 = int param Integer parameter.
|arg9 = int param7 Integer value.
|parameter9 = int param Integer parameter.
|arg10 = int flag Flag value (0 or 1).
|parameter10 = int param Integer parameter.
|desc = creates car generator
|usage = creates car generator
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:34, 13 June 2026

Function Client Only icon-vc.png 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.