Fix the Hint displaying before the circle

This commit is contained in:
KarmaUnderground
2018-11-30 09:48:54 -05:00
committed by GitHub
parent 7072752022
commit 5361080eda
+1 -1
View File
@@ -364,7 +364,7 @@ Citizen.CreateThread(function()
local zone = nil
for k,v in pairs(Config.PublicZones) do
if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x then
if GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true) < v.Size.x/2 then
isInPublicMarker = true
position = v.Teleport
zone = v