03.01.2010, 16:08
pawn Код:
new Float:posx, Float:posy, Float:posz;
GetPlayerPos(playerid, posx, posy, posz);
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInRangeOfPoint(i, 5.0, posx, posy, posz))
{
}
}
}
new Float:posx, Float:posy, Float:posz;
GetPlayerPos(playerid, posx, posy, posz);
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInRangeOfPoint(i, 5.0, posx, posy, posz))
{
}
}
}