Vehicle Functions
Last updated
Last updated
Spawns vehicle at specified location
Parameter | Required | Type | Description |
---|---|---|---|
Returns an array of vehicle entity handles in the radius of the specified coords
Parameter | Required | Type | Description |
---|---|---|---|
Returns a bool indicating if there are any vehicles a the specified coords and radius
Parameter | Required | Type | Description |
---|---|---|---|
Returns the closest vehicle entity handle
Returns the closest vehicle entity handle
Returns an array containing entity handles for each entity in the ped game pool
Parameter | Required | Type | Description |
---|---|---|---|
Parameter | Required | Type | Description |
---|---|---|---|
model
hash or string
Model or hash of the vehicle
coords
vector4
Coords to spawn vehicle at, defaults to ped current location
isNetworked
Boolean
Should the vehicle be networked
coords
vector3
The coords to check at
area
Number
The radius size to check for at the specified coords
coords
vector3
The coords to check at
maxDistance
Number
The radius size to check for at the specified coords
coords
vector3
The coords at which to find the closest ped. If not passed through it'll use your ped's coords
coords
vector3
The coords at which to find the closest ped. If not passed through it'll use your ped's coords