06-22-2015, 06:37 AM
06-22-2015, 07:32 AM
LUA Programming
Timeout = 1000
MyLoc = GetMe():GetLocation()
t = 0
repeat
t = t+1
if GetMe():GetRangeTo(MyLoc) < 100 then
if t > Timeout then
KillMe()
end
end
Sleep(1000)
until false
after Timeout amount of seconds it'll crash the client. I'm kinda drunk right now so if it's not perfect, that might be it. You get the idea anyway