Detecting if player in certain zone.
#2

The basic concept is to have a repeating timer, and use IsPlayerInRangeOfPoint for every player in the server. You will need to specify the central point of the area, and a range for it. In case it returns true, you can do all your stuff, in case it returns false, it means that they aren't in the area.
Reply


Messages In This Thread
Detecting if player in certain zone. - by DiddyBop - 14.12.2009, 00:20
Re: Detecting if player in certain zone. - by Zamaroht - 14.12.2009, 00:30
Re: Detecting if player in certain zone. - by [HiC]TheKiller - 14.12.2009, 07:40

Forum Jump:


Users browsing this thread: 1 Guest(s)