02.07.2014, 05:03
pawn Код:
CMD:getall(playerid, params[])
{
if(pInfo[playerid][pAdmin] < 1) return 1;
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
for(new i = GetMaxPlayers() - 1; i != -1; i--)
{
if(!IsPlayerConnected(i) || IsPlayerNPC(i)) continue;
SetPlayerPos(i, pos[0], pos[1], pos[2]);
}
return 1;
}