mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Tweaked spawnpoint check, fixed inventory
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ function OpenTaxiActionsMenu()
|
||||
|
||||
if data.current.value == 'spawn_vehicle' then
|
||||
|
||||
if not ESX.Game.IsSpawnPointClear(Config.Zones.VehicleSpawnPoint.Pos, 3.0) then
|
||||
if not ESX.Game.IsSpawnPointClear(Config.Zones.VehicleSpawnPoint.Pos, 5.0) then
|
||||
ESX.ShowNotification(_U('spawnpoint_blocked'))
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user