28.04.2009, 14:56
You can use the IsPlayerInZone.... then just use a timer....
pawn Код:
stock IsPlayerInZone( playerid, Float:XMin, Float:YMin, Float:XMax, Float:YMax )
{
new RetValue = 0;
new Float: PosX, Float: PosY, Float: PosZ;
GetPlayerPos( playerid, PosX, PosY, PosZ );
if( PosX >= XMin && PosY >= YMin && PosX < XMax && PosY < YMax )
{
RetValue = 1;
}
return RetValue;
}