natives.CREATE RANDOM CAR FOR CAR PARK: 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_RANDOM_CAR_FOR_CAR_PARK | |name = natives.CREATE_RANDOM_CAR_FOR_CAR_PARK | ||
|parameters = Vec3 position, float | |parameters = Vec3 position, float heading | ||
|parameter1 = Vec3 position | |parameter1 = Vec3 position Race position. | ||
|parameter2 = float | |parameter2 = float heading Angle in degrees (0 = north). | ||
|usage = | |usage = spawns a random vehicle for a car park generator | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 11:47, 13 June 2026
natives.CREATE_RANDOM_CAR_FOR_CAR_PARK
Signature: void natives.CREATE_RANDOM_CAR_FOR_CAR_PARK(Vec3 position, float heading)
Usage: spawns a random vehicle for a car park generator
Parameters
- Vec3 position Race position.
- float heading Angle in degrees (0 = north).
Return
void
On failure: void