07.01.2010, 11:33
Thats not the way i'd want to put it up but
guess you have to
guess you have to
pawn Код:
if(dialogid == INTERIORMENU)
{
if(response)
{
if(listitem == 0) // Banks
{
ShowPlayerDialog(playerid, INTERIORMENU+1, DIALOG_STYLE_LIST, "Bank", "Bank 1 \nBank 2 \nBank 3 \nBank 4 \nBank 5 \nBank 6 \nBack", "Select", "Cancel");
}
if(listitem == 1) // Airports
{
ShowPlayerDialog(playerid, INTERIORMENU+2, DIALOG_STYLE_LIST, "Airport Interiors", "Las Venturas Airport \nLas Santos Airport \nSan Fierro Airport \nBack", "Select", "Cancel");
}
if(listitem == 2) // Ammunations
{
ShowPlayerDialog(playerid, INTERIORMENU+3, DIALOG_STYLE_LIST, "Ammunation Interiors", "Ammunation 1 \nAmmunation 2 \nAmmunation 3 \nAmmunation 4 \nAmmunation 5 \nBack", "Select", "Cancel");
}
if(listitem == 3) // Garages
{
ShowPlayerDialog(playerid, INTERIORMENU+4, DIALOG_STYLE_LIST, "Mod Shops/Garages","Loco Low Co. \nWheel Arch Angels \nTransfender \nDoherty Garage \nBack", "Select", "Cancel");
}
if(listitem == 4) // Departements
{
ShowPlayerDialog(playerid, INTERIORMENU+5, DIALOG_STYLE_LIST, "Departments","SF Police Department \nLS Police Department \nLV Police Department \nPlanning Department\nBack", "Select", "Cancel");
}
if(listitem == 5) // Back
{
ShowPlayerDialog(playerid, INTERIORMENU, DIALOG_STYLE_LIST, "Teleports Location","24/7's\nAirports\nAmmunations\nGarages\nDepartment\nBack", "Select", "Cancel");
}
}
else
{
SendClientMessage(playerid, COLOR, "Menu have been closed");
}
return 1;
}