Fixed typo

This commit is contained in:
ElPumpo
2019-09-22 13:08:17 +02:00
parent 440769caed
commit 1d6cf75c63
+2 -2
View File
@@ -122,13 +122,13 @@ Citizen.CreateThread(function()
local playerCoords, isInMarker, currentZone, letSleep = GetEntityCoords(PlayerPedId()), nil, nil, true
for k,v in ipairs(Config.Shops) do
local distnace = #(playerCoords - v)
local distance = #(playerCoords - v)
if distance < Config.DrawDistance then
letSleep = false
DrawMarker(Config.MarkerType, v, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Config.MarkerSize, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, false, nil, nil, false)
if distnace < 1.5 then
if distance < 1.5 then
isInMarker, currentZone = true, k
end
end