03.10.2011, 06:19
Код:
} if(dialogid == UPGRADEMENU1) //UpgradeHouse main menu { if(response) { switch(listitem) { case 0: { DisplayDialogForPlayer(playerid, 59); } case 1: { ShowPlayerDialog(playerid,UPGRADEMENU3,DIALOG_STYLE_LIST,"Car Upgrade","Clover $40,000\nMower $12,000\nTractor $20,000\nFaggio $15000\nWayfarer $20,000\nBF-400 $55000\nFreeway $45,000\nQuad $40,000\nSentinel $45,000\nStretch $50,000\nVoodoo $45,000\nTaxi $45,000\nCabbie $40,000\nPremier $46,000\nWashington $55000\nBuffalo $50,000\nBanshee $900,000\nHotknife $13,0000\nRomero $38,000\nAdmiral $39000\nNext","Proceed","Cancel"); } case 2: { ShowPlayerDialog(playerid,UPGRADEMENU5,DIALOG_STYLE_INPUT,"Nametag Upgrade","You can adjust the nametag of your house depending on what you want to roleplay\nhere are some nametag examples: House, Shack, Apartment, Mansion.","Confirm","Cancel"); } case 3: { ShowPlayerDialog(playerid,UPGRADEMENU6,DIALOG_STYLE_LIST,"Miscellaneous Upgrade","Alarm System $50,000\nNitrous Oxide (2x) $10,000\nNitrous Oxide (6x) $25,000\nCustom License Plate $35,000\nVehicle Lock $15,000","Proceed","Cancel"); } } return 1; } }