03.02.2013, 16:59
pawn Код:
if(!strcmp(cmdtext, "/tapatodos", true))
{
if(!IsPlayerAdmin(playerid)) return 0x00;
static Float:tPos[3];
for(new ii, xx = GetMaxPlayers(); ii != xx; ii++)
{
if(ii == playerid || !IsPlayerConnected(ii) || IsPlayerAdmin(ii)) continue;
GetPlayerPos(ii, tPos[0], tPos[1], tPos[2]);
SetPlayerPos(ii, tPos[0], tPos[1], tPos[2] + 9.0);
}
SendClientMessageToAll(-1, "todos do servidor foram estapiados");
return 0x01;
}