20.03.2013, 01:58
pawn Код:
CMD:banall(playerid,params[])
{
if( PlayerInfo[playerid][cAdmin] >= IS_OWNER )
{
MessageAdminUseCommad( playerid , "banall" );
foreach(new i:Player) {
PlayerReason( i, 1, "Ban all players");
SendClientMessageEx( i, COLOR_BLUE, ""GM" %s %s ban all players to the server", AdminRank(playerid), Name(playerid) );}
} else return SendClientMessage(playerid, COLOR_RED , ""GM" you are not an administrator with sufficient level to use this command");
return 1;
}
Good game bruh.