mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Implemented ESX.Game.IsSpawnPointClear(coords, radius)
This commit is contained in:
@@ -661,6 +661,12 @@ ESX.Game.GetVehicleInDirection = function()
|
||||
return vehicle
|
||||
end
|
||||
|
||||
ESX.Game.IsSpawnPointClear = function(coords, radius)
|
||||
local vehicles = ESX.Game.GetVehiclesInArea(coords, radius)
|
||||
|
||||
return #vehicles == 0
|
||||
end
|
||||
|
||||
ESX.Game.GetPeds = function(ignoreList)
|
||||
|
||||
local ignoreList = ignoreList or {}
|
||||
|
||||
Reference in New Issue
Block a user