IsPlayerInArea Help
#2

Create a timer.
Example :
pawn Код:
forward CheckArea();
public CheckArea()
{
     if(IsPlayerInArea(Coordinates here))
     {
            //Do your stuff here.
     }
     return 1;
}
Then call the timer for example, every two seconds under on game mode init.
pawn Код:
// Under on game mode init
SetTimer("CheckArea",2000,1);
Reply


Messages In This Thread
IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 05:55
Re: IsPlayerInArea Help - by CoDeZ - 15.09.2012, 06:01
Respuesta: IsPlayerInArea Help - by Marricio - 15.09.2012, 06:02
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 06:20
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 06:33
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 06:42
Re: IsPlayerInArea Help - by JaKe Elite - 15.09.2012, 06:48
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 07:11
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 08:00
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 08:07

Forum Jump:


Users browsing this thread: 2 Guest(s)