30.11.2009, 21:57
Make a timer checkign a players position and do:
So something like:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,1,-1123.0327,-1644.5114,76.4961))
{
SendClientMessage(playerid,COLOR,"HELLO!");
}
pawn Код:
forward PositionChecker(playerid);
pawn Код:
public PositionChecker(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,1,-1123.0327,-1644.5114,76.4961))
{
SendClientMessage(playerid,COLOR,"HELLO!");
}
}
pawn Код:
SetTimer("PositionChecker",1000,1);