28.04.2011, 16:17
Quote:
and playerid in if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)) ?
|
pawn Code:
GetPlayerPos(id, x, y, z); // get the cordinates of id processed by sscanf
if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)) // Check if playerid is within 5 ( feets ? ) of the id processed by sscanf.