Help With Dialogs
#10

All Errors Gone
Now only 1 Left
pawn Код:
C:\Documents and Settings\dx\Desktop\New Folder (3)\gamemodes\GM.pwn(4951) : error 029: invalid expression, assumed zero
Line 4951
pawn Код:
} else {
Whole Code
pawn Код:
if(dialogid == DIALOG_Dialog_Tele) {
        if(response) {
            switch(listitem) {
            case 0: {
                ShowPlayerDialog(playerid, DIALOG_Stunts, DIALOG_STYLE_LIST, "Stunts", "Las Venturas\nStunt Road\nLos Santos Airport\nLas Venturas Airport\nMount Chilliad\nAbandonned Airport", "Select", "Back");
            }
            case 1: {
                ShowPlayerDialog(playerid, DIALOG_jumps, DIALOG_STYLE_LIST, "Jumps", "Big Jump\nSuper Jump", "Select", "Back");
            }
            case 2: {
                ShowPlayerDialog(playerid, DIALOG_Parkour, DIALOG_STYLE_LIST, "Parkours", "Road To Glory", "Select", "Back");
            }
            case 3: {
                ShowPlayerDialog(playerid, DIALOG_Deathmatches, DIALOG_STYLE_LIST, "DeathMatches", "Minigun DM", "Select", "Back");
            }
            case 4: {
                ShowPlayerDialog(playerid, DIALOG_Fun, DIALOG_STYLE_LIST, "Fun Maps", "Disney", "Select", "Back");
            }
            case 5: {
                ShowPlayerDialog(playerid, DIALOG_Others, DIALOG_STYLE_LIST, "Others", "RaceTrack", "Select", "Back");
            }
        } else {
            switch(listitem) {
                case 0: {
                    ShowPlayerDialog(playerid, DIALOG_Stunts, DIALOG_STYLE_LIST, "Stunts", "Las Venturas\nStunt Road\nLos Santos Airport\nLas Venturas Airport\nMount Chilliad\nAbandonned Airport", "Select", "Back");
                }
                case 1: {
                    ShowPlayerDialog(playerid, DIALOG_jumps, DIALOG_STYLE_LIST, "Jumps", "Big Jump\nSuper Jump", "Select", "Back");
                }
                case 2: {
                    ShowPlayerDialog(playerid, DIALOG_Parkour, DIALOG_STYLE_LIST, "Parkours", "Road To Glory", "Select", "Back");
                }
                case 3: {
                    ShowPlayerDialog(playerid, DIALOG_Deathmatches, DIALOG_STYLE_LIST, "DeathMatches", "Minigun DM", "Select", "Back");
                }
                case 4: {
                    ShowPlayerDialog(playerid, DIALOG_Fun, DIALOG_STYLE_LIST, "Fun Maps", "Disney", "Select", "Back");
                }
                case 5: {
                    ShowPlayerDialog(playerid, DIALOG_Others, DIALOG_STYLE_LIST, "Others", "RaceTrack", "Select", "Back");
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help With Dialogs - by GreTex - 19.05.2013, 12:09
Re: Help With Dialogs - by LilBob - 19.05.2013, 12:10
Re: Help With Dialogs - by GreTex - 19.05.2013, 12:13
AW: Help With Dialogs - by HurtLocker - 19.05.2013, 12:17
Re: Help With Dialogs - by JohnYoti - 19.05.2013, 12:25
Re: Help With Dialogs - by BlazingKnife - 19.05.2013, 14:58
Re: Help With Dialogs - by jordy.kiesebrink - 19.05.2013, 15:04
Re: Help With Dialogs - by GreTex - 19.05.2013, 15:07
Re: Help With Dialogs - by jordy.kiesebrink - 19.05.2013, 15:12
Re: Help With Dialogs - by GreTex - 19.05.2013, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)