Another "OnDialogResponse" problem.. again
#2

pawn Код:
switch(dialogid)
{
    case DIALOG_TUNING:
    {
        if( response )
        {
            switch(listitem)
            {
                case 0:
                {
                    SetPlayerPos(playerid, -2688.6833,199.3060,6.6250);
                    new name[MAX_PLAYER_NAME];
                    new string[94];
                    GetPlayerName(playerid, name, sizeof(name));
                    format(string, sizeof(string), "[TELEPORT] - %s[%d] has teleported to WAA!(Wheel Arch Angels)", name, playerid);
                    SendClientMessageToAll(COLOR_GREEN, string);
                }
                case 1:
                {
                    SetPlayerPos(playerid, 2637.1890,-2011.6135,13.8139);
                    new name[MAX_PLAYER_NAME];
                    new string[94];
                    GetPlayerName(playerid, name, sizeof(name));
                    format(string, sizeof(string), "[TELEPORT] - %s[%d] has teleported to the Low-Rider car tuning!", name, playerid);
                    SendClientMessageToAll(COLOR_GREEN, string);
                }
            }
        }
    }
    case DIALOG_VEHICLES: //error line here
    {
        if( response )
        {
            switch(listitem)
            {
                case 0: ShowModelSelectionMenu(playerid, bikelist , "Bikes");
                case 1: ShowModelSelectionMenu(playerid, boatlist, "Boats");
                case 2: ShowModelSelectionMenu(playerid, convertibleslist, "Converibles");
                case 3: ShowModelSelectionMenu(playerid, helicopterlist, "Helicopters");
                case 4: ShowModelSelectionMenu(playerid, industriallist, "Industrial Vehicles");
                case 5: ShowModelSelectionMenu(playerid, lowriderlist, "Low-Riders");
                case 6: ShowModelSelectionMenu(playerid, offroadlist, "Off-road Vehicles");
                case 7: ShowModelSelectionMenu(playerid, planelist, "Planes");
                case 8: ShowModelSelectionMenu(playerid, publicservicelist, "Public Services");
                case 9: ShowModelSelectionMenu(playerid, saloonlist, "Saloons");
                case 10: ShowModelSelectionMenu(playerid, stationwagonlist, "Station Wagons");
                case 11: ShowModelSelectionMenu(playerid, sportvehiclelist, "Sport Vehicles");
                case 12: ShowModelSelectionMenu(playerid, trailerlist, "Trailers");
                case 13: ShowModelSelectionMenu(playerid, uniquevehiclelist, "Unique Vehicles");
            }
        }
    }
}
Reply


Messages In This Thread
Another "OnDialogResponse" problem.. again - by Kyance - 25.11.2013, 15:08
Re: Another "OnDialogResponse" problem.. again - by Konstantinos - 25.11.2013, 15:17
Re: Another "OnDialogResponse" problem.. again - by Kyance - 25.11.2013, 15:27
Re: Another "OnDialogResponse" problem.. again - by Konstantinos - 25.11.2013, 16:04
Re: Another "OnDialogResponse" problem.. again - by Kyance - 25.11.2013, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)