forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
a0a4c022cd
commit
a45dfb0784
1 changed files with 1 additions and 2 deletions
|
@ -75,7 +75,7 @@ end
|
||||||
-- Hauptthread zum Überprüfen der Spieler-Position
|
-- Hauptthread zum Überprüfen der Spieler-Position
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
while true do
|
while true do
|
||||||
wait(0)
|
Wait(0)
|
||||||
local ped = PlayerPedId()
|
local ped = PlayerPedId()
|
||||||
local coords = GetEntityCoords(ped)
|
local coords = GetEntityCoords(ped)
|
||||||
|
|
||||||
|
@ -87,7 +87,6 @@ CreateThread(function()
|
||||||
|
|
||||||
if dist <= spawnDistance then
|
if dist <= spawnDistance then
|
||||||
isInMarker = true
|
isInMarker = true
|
||||||
|
|
||||||
CurrentZone = v
|
CurrentZone = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue