Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Staying on Area mod
#11
Maybe this will be quite similar to above answers:
Code:
if(Distance((horizontal axis, vertical axis, height), self.origin) <= 9000)
{
self thread HAHAHAHAHA();
} else {
self notify("WAAAAAAAAAAA");
}

HAHAHAHAHA()
{
self endon("WAAAAAAAAAAA");
//code
}


This will end the thread if the player got too far from the location Sleepy
@EDIT: Epic fail, I forgot to put loop in the code if it was necessary.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Make area detect. flag Teleport lewisbibo 4 4,656 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.