28.12.2010, 10:43
pawn Код:
new Float:X,Float:Y,Float:Z,Float:oX,Float:oY,Float:oZ;
GetPlayerPos(playerid,X,Y,Z);
for(new o = 0; 0 < MAX_OBJECTS; o++)
{
GetObjectPos(o,oX,oY,oZ);
}
if(IsPlayerInRangeOfPoint(playerid,4,oX,oY,oZ)) //4 = range
{
//What ya need?
}