06.05.2013, 23:51
Tipo isso:
pawn Код:
for(new i,e = GetMaxPlayers(); i != e; ++i){
if(IsPlayerConnected(i)){
for(new ie,ee = GetMaxPlayers(); ie != ee; ++ie){
if(IsPlayerNPC(ie)){
static Float: pos[3];
GetPlayerPos(ie, pos[0], pos[1], pos[2]);
if(IsPlayerInRangeOfPoint(i, 10.0, pos[0], pos[1], pos[2])){
Kick(ie);
}
}
}
}
}