Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question (
/showthread.php?tid=393115)
Question -
[rG]Cold - 17.11.2012
Hello.
How can i check if 2 or more players are in the same checkpoint at the same time?
Re: Question -
Ballu Miaa - 17.11.2012
Create a Timer! A simple one!
Which will call a callback each second!
The callback will check that IsPlayerInRangeOfpOint for the both players. In case it is true it will return 1 and kills the timer! else return 0;
Re: Question -
[rG]Cold - 17.11.2012
Quote:
Originally Posted by Ballu Miaa
Create a Timer! A simple one!
Which will call a callback each second!
The callback will check that IsPlayerInRangeOfpOint for the both players. In case it is true it will return 1 and kills the timer! else return 0;
|
Thanks! Done!