Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local FindPlayerRecursive = function(down, ang, OKs)
- WriteConsole("\tPlease look "
- .. (down and "DOWN under " or "UP over ")
- .. tostring(ang) .. " degrees. Press SPACE to continue.\n")
- if (not IsKeyDown(VK_SPACE)) then end
- local passed = CheckPlysPitch(OKs, 30, false)
- if (#passed == 1) then
- localidx = passed[1]
- recursivestopchk = 0
- else
- recursivestopchk = recursivestopchk + 1
- if (recursivestopchk > 10) then
- localidx = -1
- recursivestopchk = 0
- WriteConsole("\tFailed to find local player!")
- else
- FindPlayerRecursive(not down, 35, passed)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement