spawnVehicle - AndresTVz/FiveM GitHub Wiki
Syntax
spawnVehicle (
vehicleModel -- [ String ](/AndresTVz/FiveM/wiki/-String-),
persistent -- [ Bool ](/AndresTVz/FiveM/wiki/-Bool-)
)
Arguments
- vehicleModel --> Model Name of the vehicle you need generate. [ Vehicle Models ]
- persistent --> Do you want the gta engine not to remove the car if necessary?
Returns
If everything is correct, it will return the generated vehicle, otherwise it will return false.