World
World-related APIs.
World.SpawnVehicle(name: string, vec3: position, vec3: rotation): Vehicle
Spawns a vehicle at the given position with the given rotation. For a complete list of vehicle names, see Vehicle List.
Example:
-- Spawn a car at the airport
World.SpawnVehicle("v024_car_ecosuper_racing_01", vec3(9503, 517, 8463), vec3(0, 0, 0))