SpawnVehicle - Export
Parameters Needed
Argument
Data Type
Explanation
vehicleData
Array (GetVehicleProperties)
Vehicle Data
spawnCoords
vector3
the position where the vehicle need to spawn
spawnHeading
number
the rotation of the vehicle
extraData
Set the ExtraData to the Vehicle like (EVC, Livery, or set Custom Values, Like Vehicle Keys) all extraDatas will set as stateBag
callback
function
Here you can define your callback.
Example Usage
Last updated