PlayerrangePoint
#2

Make a timer checkign a players position and do:

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,1,-1123.0327,-1644.5114,76.4961))
{
SendClientMessage(playerid,COLOR,"HELLO!");
}
So something like:

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);
Reply


Messages In This Thread
PlayerrangePoint - by patchkinson - 30.11.2009, 19:52
Re: PlayerrangePoint - by miokie - 30.11.2009, 21:57
Re: PlayerrangePoint - by patchkinson - 30.11.2009, 23:01

Forum Jump:


Users browsing this thread: 2 Guest(s)