13.12.2013, 10:40
Hello
I want to do a base for on dialog repsonse
so i did like that
______________________
i did defined that dialog_gang
thats the error
thanks for helpers.
I want to do a base for on dialog repsonse
so i did like that
______________________
Код:
if(dialogid == DIALOG_GANG) { if(response) { if(listitem == 0) { //TEXT } if(listitem == 1) { //TEXT } if(listitem == 2) { //TEXT } if(listitem == 3) { //TEXT } if(listitem == 4) { //TEXT } if(listitem == 5) { //TEXT } return 1; } } return 0; }
Код:
ShowPlayerDialog(playerid, DIALOG_GANG, DIALOG_STYLE_LIST, "Gangs", "Grove\n/Ballas\nPenguins\nTrhoops\nBrains\nStreet Shit", "Select", "Close");
Код:
warning 225: unreachable code
thanks for helpers.