forked from Simnation/Main
tv
This commit is contained in:
parent
619c6d40f6
commit
9b0c3281d7
2 changed files with 2 additions and 87 deletions
|
@ -34,7 +34,7 @@ local function Teleport(pos)
|
|||
|
||||
local sceneLoadTimer = GetGameTimer()
|
||||
while not IsNewLoadSceneLoaded() do
|
||||
if GetGameTimer() - sceneLoadTimer > 1000 then break end
|
||||
if GetGameTimer() - sceneLoadTimer > 500 then break end
|
||||
Wait(0)
|
||||
end
|
||||
|
||||
|
@ -42,7 +42,7 @@ local function Teleport(pos)
|
|||
sceneLoadTimer = GetGameTimer()
|
||||
|
||||
while not HasCollisionLoadedAroundEntity(cache.ped) do
|
||||
if GetGameTimer() - sceneLoadTimer > 1000 then break end
|
||||
if GetGameTimer() - sceneLoadTimer > 500 then break end
|
||||
Wait(0)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue