• 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.
[-] The following 1 user says Thank You to Ra3shed for this post:
  • islamsaab
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)