mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Fixed menu not opening
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(1)
|
||||
|
||||
local coords, isInJoblistingMarker, currentZone = GetEntityCoords(PlayerPedId()), false, nil
|
||||
local coords, currentZone = GetEntityCoords(PlayerPedId()), nil
|
||||
|
||||
for i=1, #Config.Zones, 1 do
|
||||
if GetDistanceBetweenCoords(coords, Config.Zones[i].x, Config.Zones[i].y, Config.Zones[i].z, true) < (Config.ZoneSize.x / 2) then
|
||||
|
||||
Reference in New Issue
Block a user