Fixed menu not opening

This commit is contained in:
ElPumpo
2018-12-07 20:29:33 +01:00
parent c915b1b5e3
commit a3f312e505
+1 -1
View File
@@ -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