[AJUDA]Dialog
#1

Iawe Galera.. Tou com um Problema No Meu Comando /admins em Dialog, Seguinte.. Quando eu Digito /admin Nгo Aparece Nada Alguem Ajuda? Aki o Cod:

pawn Код:
if(strcmp(cmd, "/test", true) == 0)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    if(PlayerInfo[i][cAdmin] >= 1 && PlayerInfo[i][cAdmin] < 10) // O variable tuya..
                    {
    new stringcat[700];
    format(msg, sizeof(msg), "Admin: %s | Level: %d", Name(i), PlayerInfo[i][cAdmin]);
    ShowPlayerDialog(playerid, DialogComandos, DIALOG_STYLE_MSGBOX, "Comandos...", stringcat, "Ok", " ");
    }
    }
    }
    return 1;
    }
Me Ajudo? +REP
Reply
#2

pawn Код:
if(strcmp(cmd, "/test", true) == 0)
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    if(PlayerInfo[i][cAdmin] >= 1 && PlayerInfo[i][cAdmin] < 10) // O variable tuya..
                    {
    new stringcat[100];
    format(stringcat, sizeof(stringcat), "Admin: %s | Level: %d", Name(i), PlayerInfo[i][cAdmin]);
    ShowPlayerDialog(playerid, DialogComandos, DIALOG_STYLE_MSGBOX, "Comandos...", stringcat, "Ok", " ");
    }
    }
    }
    return 1;
    }
Reply
#3

Vlw Funfo ^^ REP
Reply
#4

Nao confundam o Ghost_.x[X]x comigo, й outro ser.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)