28.01.2014, 22:55
Se nгo der certo tente assim
pawn Код:
#define 1777
#define STRD_LISTA "{F5F50C}funcao1\n{F5180C}funcao2"
ShowPlayerDialog(playerid, 1777, DIALOG_STYLE_LIST, ".:: - Nome - ::.", STRD_LISTA , "OK", "SAIR");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1777 && response)
{
if(listitem == 0)
{
// funзгo
}
if(listitem == 1)
{
// funзгo 2
}
}
}