forked from hkc/cc-stuff
wallhack: sleeping until there is player object
This commit is contained in:
parent
0c1cfe78ec
commit
34319f09ad
|
@ -37,6 +37,10 @@ return function()
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
while _G.player == nil do
|
||||||
|
os.sleep(0.05)
|
||||||
|
end
|
||||||
|
|
||||||
local cache = {}
|
local cache = {}
|
||||||
while _G._running do
|
while _G._running do
|
||||||
updateLookVector()
|
updateLookVector()
|
||||||
|
|
Loading…
Reference in New Issue