Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 7:
- {
- static iAlive;
- iAlive = GetAliveCount();
- if (g_iShopItemsPrices[iChoice] > g_iPoints[iPlayer])
- {
- PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 You don't have enough points!");
- }
- else
- {
- static iAlive;
- iAlive = GetAliveCount();
- if (g_iShopItemsTeams[iChoice] == 2 && g_bZombie[iPlayer])
- {
- PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 This item is not for your team!");
- }
- static iAlive;
- iAlive = GetAliveCount();
- if (g_bRoundStart && iAlive > 9 && g_iLastMode != 128 && g_iRoundsCount > 3)
- {
- PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 You can't buy this feature right now!");
- }
- StartArmageddonMode(true);
- remove_task(700, "HamFilter");
- g_bRoundStart = false;
- remove_task(550, "HamFilter");
- g_iPoints[iPlayer] -= g_iShopItemsPrices[iChoice];
- set_hudmessage(205, 102, 29, -1082130432, 1060320051, 1, "HamFilter", 1077936128, 1073741824, 1065353216, -1);
- ShowSyncHudMsg("HamFilter", g_iEventsHudmessage, "%s bought Armageddon Round through points!", g_cName[iPlayer]);
- PrintToChat(0, "\x04[Zombie Outstanding]\x03 %s\x01 bought\x04 Armageddon Round\x01 through points!", g_cName[iPlayer]);
- SaveRank(iPlayer);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement