Help Me Dialog With More Dialog...
#10

strang i tested it on my fs and it works fine, are you sure those are the lines?
also another quick quote, i suggest to script efficiently like this
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 2)
    {
        if(response == 1)
        {
            if(listitem == 0) { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Bikes", "NRG-500\nFGR-900\nFreeway", "Select", "Close");}
            if(listitem == 1) { ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Boats", "Speeder\nVortex", "Select", "Close");}
            if(listitem == 2) { ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Cars", "Landstalker\nBravura\nBuffalo\nLinerunner\nPerenniel\nSentinel\nDumper\nTrashmaster\nStretch\nManana\nNext Page", "Select", "Close");}
            if(listitem == 3) { ShowPlayerDialog(playerid, 7, DIALOG_STYLE_LIST, "F Cars", "Firetruck\nAmbulance\nTaxi\nCabbie\nEnforcer\nSecuricar\nBus\nRhino\nCoach\nNext Page", "Select", "Close");}
            if(listitem == 4){ ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Flans", "Laviathan\nHunter\nSeasparrow\nSkimmer\nSparrow\nRustler\nMaverick\nSAN News Maverick\nPolice Maverick\nNext Page", "Select", "Close");}
            if(listitem == 5) { ShowPlayerDialog(playerid, 9, DIALOG_STYLE_LIST, "RC", "RC Baron\nRC Raider\nRC Goblin\nRC Tiger\nRC Cam", "Select", "Close");}}
    }
    return 1;
}
saves alot of room
Reply


Messages In This Thread
Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:07
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:20
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:29
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:31
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:37
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:41
Re: Help Me Dialog With More Dialog... - by xganyx - 19.06.2013, 23:45
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 19.06.2013, 23:51
Re: Help Me Dialog With More Dialog... - by xganyx - 20.06.2013, 00:10
Re: Help Me Dialog With More Dialog... - by SwisherSweet - 20.06.2013, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)