SpawnVehicle

Parameters description

ParameterTypeDescriptionDefault

vehModel

string|integer

vehicle model

----

spawnPedInside

boolean?

spawn ped inside vehicle

false

Return:

  • integer?

Example

local veh = FPlayer:SpawnVehicle('futo', true)
SetVehicleNumberPlateText(veh, 'TestVeh ')

Last updated