30.11.2009, 19:52
How to make like this:
If player is at -1123.0327,-1644.5114,76.4961 send ClientMEssage HELLO!
If player is at -1123.0327,-1644.5114,76.4961 send ClientMEssage HELLO!
if(IsPlayerInRangeOfPoint(playerid,1,-1123.0327,-1644.5114,76.4961))
{
SendClientMessage(playerid,COLOR,"HELLO!");
}
forward PositionChecker(playerid);
public PositionChecker(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,1,-1123.0327,-1644.5114,76.4961))
{
SendClientMessage(playerid,COLOR,"HELLO!");
}
}
SetTimer("PositionChecker",1000,1);