11.02.2011, 12:37
Actually it works that way too!
Also, for the area, you can search for IsPlayerInArea in here, or just use IsPlayerInRangeOfPoint
Example usage^^
Also, for the area, you can search for IsPlayerInArea in here, or just use IsPlayerInRangeOfPoint
pawn Код:
if ( IsPlayerInRangeOfPoint( playerid, Float:range, Float:x, Float:y, Float:z ) )
{
SendClientMessage( playerid, 0xAAAAAA, "YAY! You are in range!" );
}
else
{
SendClientMessage( playerid, 0xAAAAAA, "You are not in range!" );
}