[Ajuda] Ajuda com Dialog
#1

olб pessoal eu estou com um problema chato '-'


seguinte funfa quase tudo mais na hora de aparecer uma caixa de dialog n aparece

pawn Код:
#define     COMB                  524161263
#define     D_GASOLINA            524165241263

cmd: (funfa)
pawn Код:
if( !strcmp( cmd, "/abastecer", true ))
    {
    ShowPlayerDialog(playerid, COMB, DIALOG_STYLE_LIST, "Combustiveis", "Gasolina\nDiesel\nEtanol", "Selecionar", "Sair");
    }

caixa de dialog que nгo estб aparecendo
pawn Код:
if(dialogid == COMB)
{
if(response)
{
new
stg[ 1500 ];

if(listitem == 0)
{

format( stg, sizeof( stg ), "Digite a quantia em que vocк queira abastecer\n\nMaximo de Combustivel 100 litros\n\nValor por litro $4");
ShowPlayerDialog( playerid, D_GASOLINA, DIALOG_STYLE_INPUT, "Gasolina", stg, "Abastecer", "Cancelar" );
}
}
if(listitem == 1)
{
format( gStr, sizeof( gStr ), "Digite a quantia em que vocк queira abastecer\n\nMaximo de Combustivel 100 litros\n\nValor por litro $2");
ShowPlayerDialog( playerid, D_GASOLINA, DIALOG_STYLE_INPUT, "Diesel", gStr, "Abastecer", "Cancelar" );
}
if(listitem == 2)
{
format( gStr, sizeof( gStr ), "Digite a quantia em que vocк queira abastecer\n\nMaximo de Combustivel 100 litros\n\nValor por litro $2");
ShowPlayerDialog( playerid, D_GASOLINA, DIALOG_STYLE_INPUT, "Diesel", gStr, "Abastecer", "Cancelar" );
}
return 1;
}
ajudem +rep
Reply


Messages In This Thread
Ajuda com Dialog - by Italoigt - 23.04.2016, 21:35
Re: Ajuda com Dialog - by CZ - 23.04.2016, 21:44
Re: Ajuda com Dialog - by F1N4L - 23.04.2016, 21:46
Re: Ajuda com Dialog - by zPain - 23.04.2016, 21:51
Re: Ajuda com Dialog - by Italoigt - 23.04.2016, 22:06
Re: Ajuda com Dialog - by LockedLucas - 23.04.2016, 23:28
Re: Ajuda com Dialog - by Italoigt - 24.04.2016, 02:18

Forum Jump:


Users browsing this thread: 1 Guest(s)