07.11.2012, 14:53
First of all you as you have there "Enter weapon id" Which is not dialog style list it sud be Dialog_Style_Input where you can input the id of the desired weapon so copy the code.
Код:
if(dialogid==5) { if(response) { if(listitem==0) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel"); } if(listitem==1) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel"); } if(listitem==2) { ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel"); } }