[Ajuda] porque o parte do comando some ?
#3

agr nгo apareceu o comando

pawn Код:
if(strcmp(cmd, "/admins", true) == 0)
    {
        new str[10000], count = 0;

        if(IsPlayerConnected(playerid))
        {
            format(str, sizeof(str), "{FFA500}Nome: {FFFFFF}Need_Ziinho || {FFFFFF}Administrador BOT || Status: {FF0000}(Trabalhando)\n");
            strcat(str, string, sizeof(str));
           
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    if(admin[i])
                    {
                        if(pAdmin[i] == 1)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[Guardiгo] Level {FF0000} 1\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        if(pAdmin[i] == 2)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[ADM] Level {FF0000} 2\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        if(pAdmin[i] == 3)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[Chefe] Level {FF0000} 3\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        if(pAdmin[i] == 4)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[Master-Chefe] Level {FF0000} 4\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        if(pAdmin[i] == 5)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[Sub-Dono] Level {FF0000} 5\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        if(pAdmin[i] == 6)
                        {
                            format(str, sizeof(str), "{FFFFFF}%s (%d) {FF0000}:: {FFFFFF}[Dono-Geral] Level {FF0000} 6\n", GetPlayerNameEx(i), i);
                            strcat(str, string, sizeof(str));
                        }
                        count++;
                    }
                }
            }
        }
        if(count == 0)
        {
            ShowPlayerDialog(playerid, playersimp, DIALOG_STYLE_MSGBOX, ".:: - ADM's Online - ::.", "{FF0000}Nгo hб ADM's online no momento.\n\nVeja nossos Moderadores Use:/moderadores", "OK", "");
        }
        else
        {
            ShowPlayerDialog(playerid, playersimp, DIALOG_STYLE_MSGBOX, ".:: - ADM's Online - ::.", string, "OK", "");
        }
        return 1;
Reply


Messages In This Thread
porque o parte do comando some ? - by Dieguinho - 23.01.2014, 19:43
Re: porque o parte do comando some ? - by Gii - 23.01.2014, 19:44
Re: porque o parte do comando some ? - by Dieguinho - 23.01.2014, 21:57
Re: porque o parte do comando some ? - by tonisantolia - 23.01.2014, 22:07
Re: porque o parte do comando some ? - by Gii - 23.01.2014, 22:28
Re: porque o parte do comando some ? - by Dieguinho - 23.01.2014, 23:48
Re: porque o parte do comando some ? - by Dieguinho - 24.01.2014, 12:50
Re: porque o parte do comando some ? - by Gii - 24.01.2014, 12:52
Re: porque o parte do comando some ? - by Dieguinho - 24.01.2014, 13:00
Re: porque o parte do comando some ? - by Gii - 24.01.2014, 13:07

Forum Jump:


Users browsing this thread: 6 Guest(s)