PlayerrangePoint
#1

How to make like this:
If player is at -1123.0327,-1644.5114,76.4961 send ClientMEssage HELLO!
Reply
#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
#3

many thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)