SpawnVehicle
Parameters Description
Parameter
Type
Description
Default
vehModel
string|integer
vehicle model
----
spawnPedInside
boolean?
spawn ped inside vehicle
false
saveVehicle
boolean?
if the ped was in other vehicle during the function execution, you can choose to keep the vehicle or remove it before creating the new one
false
Return:
integer?
Example
Last updated