Help me !
#10

Try this first. if this doesnt work.:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response == 1)
    {
        switch(dialogid)
        {
            case 1446:
            {
                switch(listitem)
                {
            case 0: return ShowPlayerDialog(playerid, 1447, DIALOG_STYLE_LIST, "Law Enforcement Skin List", "Agent1\nAgent2\nPolice1\nPolice2\nPolice3\nSheriff1\nSheriff2\nPoliceBiker\nSwat\nFBI\nArmy", "Choose", "Close");
            case 1: return ShowPlayerDialog(playerid, 1448, DIALOG_STYLE_LIST, "Paramedic Skin List", "Paramedic1\nParamedic2\nParamedic3", "Choose", "Close");
            case 2: return ShowPlayerDialog(playerid, 1449, DIALOG_STYLE_LIST, "Fireman Skin List", "Firefighter1\nFirefighter2\nFirefighter3", "Choose", "Close");
            case 1447:
            {
                new skins[] = {165,166,280,281,282,283,288,284,285,286,287};
            }
            case 1448:
            {
                new skins[] = {274,275,276};
            }
            case 1449:
            {
                new skins[] = {277,278,279};
            }
                    }
        }
            }
    }
    return 1;
}
Then try this code

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response == 1)
    {
        switch(dialogid)
        {
            case 1446:
            {
                switch(listitem)
                {
               
                    case 0: return ShowPlayerDialog(playerid, 1447, DIALOG_STYLE_LIST, "Law Enforcement Skin List", "Agent1\nAgent2\nPolice1\nPolice2\nPolice3\nSheriff1\nSheriff2\nPoliceBiker\nSwat\nFBI\nArmy", "Choose", "Close");
                    case 1: return ShowPlayerDialog(playerid, 1448, DIALOG_STYLE_LIST, "Paramedic Skin List", "Paramedic1\nParamedic2\nParamedic3", "Choose", "Close");
                    case 2: return ShowPlayerDialog(playerid, 1449, DIALOG_STYLE_LIST, "Fireman Skin List", "Firefighter1\nFirefighter2\nFirefighter3", "Choose", "Close");
                }

            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help me ! - by Devilxz97 - 14.05.2012, 12:54
Re: Help me ! - by Stigg - 14.05.2012, 12:57
Re: Help me ! - by Neo Karls - 14.05.2012, 12:58
Re: Help me ! - by Ballu Miaa - 14.05.2012, 12:59
Re: Help me ! - by Devilxz97 - 14.05.2012, 13:08
Re: Help me ! - by Ballu Miaa - 14.05.2012, 13:10
Re: Help me ! - by jaami - 14.05.2012, 13:11
Re: Help me ! - by Ballu Miaa - 14.05.2012, 13:14
Re: Help me ! - by Devilxz97 - 14.05.2012, 13:14
Re: Help me ! - by Ballu Miaa - 14.05.2012, 13:19
Re: Help me ! - by Mandrakke - 14.05.2012, 13:34
Re: Help me ! - by Devilxz97 - 16.05.2012, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)