22.03.2017, 20:54
Hi, i have problem with a dialog response.
I have a:
and:
And after i use "Zelatyna" i get a dialog style list with this options but, if i click Informations or Destroy - i get nothing, 0 message, 0 something..
idk why
I have a:
Код:
if(!strcmp(ItemName,"Zelatyna",true)) { ShowPlayerDialog(playerid, 88669, DIALOG_STYLE_LIST, "Zelatyna", "Information \nDestroy", "Ok", "Quit"); }
Код:
if(dialogid==88669) { if(response) { if(listitem==0) { //INFO SendClientMessage(playerid,COLOR_GODFATHER,"Item need for craft XXX"); } if(listitem==1) { //DESTROY RemoveItem(playerid,"Zelatyna",1); PlayerInfo[playerid][pSlot] -= 1; SendClientMessage(playerid,COLOR_GODFATHER,"You destroy 1 Zelatyna"); } } }
idk why