Posts: 172
Threads: 47
Joined: Apr 2014
Quote:
Originally Posted by AroseKhanNaizi
pawn Код:
if(dialogid == DIALOG_TOKEN) { if(response) { if(listitem == 0) { ShowPlayerDialog(playerid, DIALOG_T_WEAPON, DIALOG_STYLE_LIST, "Weapon token shop", "Sawn-Off (3 Token)\n Spas(5 Token)\n Uzi(2 Token)\n Rocket Launcher (200 token)", "Buy", "Cancel"); return 1; } else if(listitem == 1) { ShowPlayerDialog(playerid, DIALOG_T_LEVEL, DIALOG_STYLE_LIST, "Level Shop", "Level 10 (5 Token)\n Level 30 (10 Token)\n Level 50 (30 Token)\n Level 100 (50 Token)\n Level 500 (300 Token)", "Buy", "Cancel"); return 1; } else if(listitem == 2) { SendClientMessage(playerid, COLOR_REALRED, "Upgrade points is currently under maintenance! Thank you for understand!"); return 1; } else if(listitem == 3) { ShowPlayerDialog(playerid, DIALOG_T_MONEYC, DIALOG_STYLE_LIST, "Token to Money Changer", "$50,000 (8 Token)\n $100,000 (11 Token)\n $1,000000 (20 Token)", "Buy", "Cancel"); return 1; } else if(listitem == 4) { ShowPlayerDialog(playerid, DIALOG_T_HA, DIALOG_STYLE_LIST, "Health & Armor shop", "+ 200 Armor (15 Token)\n+ 200 Health (13 Token)", "Select", "Cancel"); return 1; } } return 1; }
|