← Previous | Next →
spawnVehicle
Description
Spawns a vehicle in the specified position.
Name | Type | Possibilities |
spawnVehicle | interaction | 3 |
Parameters
# | Name | Type | Mandatory | Description | Multiple |
1 | x | float | Yes | The x coordinate of the vehicle. | No |
2 | y | float | Yes | The y coordinate of the vehicle. | No |
3 | z | float | Yes | The z coordinate of the vehicle. | No |
4 | heading | float | Yes | The heading of the vehicle. | No |
5 | delay | integer | Yes | The delay in minutes to wait before spawning the vehicle for the same character. | No |
Outputs
# | Description |
1 | The vehicle was successfully spawned. |
2 | The vehicle could not be spawned. |
3 | The character must wait until the delay is over to spawn another vehicle. |
Example
interaction
spawnVehicle faggio 3503.36694 3767.2219 29.9201 76.5354 5
behaviour
nothing