18.08.2010, 12:52
This is my first time making a dialog, so i'm curious what i've already fucked up
I know something's wrong, because when i compile i'm getin' 26 errors
Код:
if(dialogid == 2) { if(response) { if(listitem == 0) { GivePlayerWeapon(playerid, 31, 500); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); } if(listitem == 1) { GivePlayerWeapon(playerid, 29, 500); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); } if(listitem == 2) { GivePlayerWeapon(playerid, 28, 500); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); } if(listitem == 3) { GivePlayerWeapon(playerid, 34, 20); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); } if(listitem == 4) { GivePlayerWeapon(playerid, 27, 500); ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); } if(listitem == 5) ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Broń Poboczna", "Glock z tłumikiem \n Desert Eagle \n Brak", "Wybierz", "Anuluj"); return 1; } }