how to detect how many people are in a specific area
#1

Let's say if they're in this coords it'd teleport them to somewhere else:

PHP код:
if(IsPlayerInArea(i, -3002.493, -3005.6382404.2922401.122) && F[2]>100 && F[2]<110){
JQCount=JQCount+1;
if(
JQCount 2){/* Script */}
return 
1;} 
but the thing is how can I detect that he's leaving the area. if i'll do it the player will just be able to get out and get in again so it'd increase the count
Reply


Messages In This Thread
how to detect how many people are in a specific area - by Lirbo - 02.05.2016, 20:34
Re: how to detect how many people are in a specific area - by Konstantinos - 02.05.2016, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)