20.12.2010, 05:24
I am not sure exactly, but you may wish to give this a try:
pawn Код:
stock IsPlayerInRangeOfPlayer(playerid, otherid, Float:range)
{
new Float:Pos[3];
GetPlayerPos(otherid, Pos[0], Pos[1], Pos[2]);
if(IsPlayerInRangeOfPoint(playerid, range, Pos[0], Pos[1], Pos[2])) return true;
return false;
}