[Ajuda] Comando /bolsafamilia
#6

pawn Код:
if(strcmp(cmdtext, "/bolsafamilia", true) == 0)
    {
            if(PlayerInfo[playerid][pLider] != 7)
            {
                SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й o Prefeito !");
                return true;
            }
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Escolha o valor da Bolsa Familia.");
            ShowPlayerDialog(playerid,369874123, DIALOG_STYLE_INPUT,"Bolsa Familia","Coloque o valor da Bolsa Familia","Pagar","Cancelar");
        return 1;
}
?? Errado !


Certo:

pawn Код:
if(strcmp(cmdtext, "/bolsafamilia", true) == 0)
    {
            if(PlayerInfo[playerid][pLider] != 7)
            {
                SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й o Prefeito !");
                return true;
            }
            else
            {
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "Escolha o valor da Bolsa Familia.");
            ShowPlayerDialog(playerid,369874123, DIALOG_STYLE_INPUT,"Bolsa Familia","Coloque o valor da Bolsa Familia","Pagar","Cancelar");
            }
        return 1;
}

Falto o else
Reply


Messages In This Thread
Comando /bolsafamilia - by Mandrack_FreeZe - 07.07.2012, 12:18
Re: Comando /bolsafamilia - by blacktrindade - 07.07.2012, 12:19
Re: Comando /bolsafamilia - by Edu33 - 07.07.2012, 12:21
Re: Comando /bolsafamilia - by Mandrack_FreeZe - 07.07.2012, 12:21
Re: Comando /bolsafamilia - by Edu33 - 07.07.2012, 12:23
Respuesta: Comando /bolsafamilia - by StrikeR_OwneR - 07.07.2012, 12:25
Re: Comando /bolsafamilia - by Mandrack_FreeZe - 07.07.2012, 12:27
Re: Respuesta: Comando /bolsafamilia - by blacktrindade - 07.07.2012, 12:29
Re: Comando /bolsafamilia - by Edu33 - 07.07.2012, 12:30
Re: Comando /bolsafamilia - by Mandrack_FreeZe - 07.07.2012, 12:32

Forum Jump:


Users browsing this thread: 2 Guest(s)