[FilterScript] System of administration cAdmin [Y_ini/sscanf2/zcmd]
#5

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;
}
^ lol.
Good game bruh.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)