14.05.2012, 13:14
oh my bad sec :\
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(response == 1) { switch(dialogid) { case 1446: { switch(listitem) { case 0: 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: ShowPlayerDialog(playerid, 1448, DIALOG_STYLE_LIST, "Paramedic Skin List", "Paramedic1\nParamedic2\nParamedic3", "Choose", "Close"); case 2: 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; }