Quote:
Originally Posted by RealCop228
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; }
|
that checks to see if you're near another player^^