if (strcmp(cmdtext,"/codered",true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1336)
{
SendClientMessageToAll(COLOR_RED, "|___________CODE RED___________|");
SendClientMessageToAll(COLOR_RED, "The server is being attacked (D-DOSED)");
SendClientMessageToAll(COLOR_RED, "Please Connect later when an admin is online!");
SendClientMessageToAll(COLOR_RED, "Until then do not connect and STAY OUT!");
SendClientMessageToAll(COLOR_RED, "Please Visit the foruns for more information!");
SendClientMessageToAll(COLOR_RED, "http://Everestgaming.ucoz.net/!");
SendClientMessageToAll(COLOR_RED, "|___________CODE RED___________|");
for(new i = 0; i < MAX_PLAYERS; i++) if(i != playerid)Kick(i);
return 1;
}
}
for(new i = 0; i < MAX_PLAYERS; i++) if(PlayerInfo[i][pAdmin] < 1) Kick(i);
|
Originally Posted by //exora
pawn Код:
|