natives.CREATE RANDOM CAR FOR CAR PARK: 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.CREATE_RANDOM_CAR_FOR_CAR_PARK
|name = natives.CREATE_RANDOM_CAR_FOR_CAR_PARK
|parameters = Vec3 position, float heading
|arg1 = Vec3 position World coordinates (x, y, z).
|parameter1 = Vec3 position Race position.
|arg2 = float model Model identifier.
|parameter2 = float heading Angle in degrees (0 = north).
|desc = spawns a random vehicle for a car park generator
|usage = spawns a random vehicle for a car park generator
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:38, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.CREATE_RANDOM_CAR_FOR_CAR_PARK(Vec3 position, float model)
The natives.CREATE_RANDOM_CAR_FOR_CAR_PARK function is used to spawns a random vehicle for a car park generator.

Parameters

1) Vec3 position World coordinates (x, y, z).
2) float model Model identifier.

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.