Guest User

Untitled

a guest
May 25th, 2019
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 7:
  2. {
  3. static iAlive;
  4. iAlive = GetAliveCount();
  5. if (g_iShopItemsPrices[iChoice] > g_iPoints[iPlayer])
  6. {
  7. PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 You don't have enough points!");
  8. }
  9. else
  10. {
  11. static iAlive;
  12. iAlive = GetAliveCount();
  13. if (g_iShopItemsTeams[iChoice] == 2 && g_bZombie[iPlayer])
  14. {
  15. PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 This item is not for your team!");
  16. }
  17. static iAlive;
  18. iAlive = GetAliveCount();
  19. if (g_bRoundStart && iAlive > 9 && g_iLastMode != 128 && g_iRoundsCount > 3)
  20. {
  21. PrintToChat(iPlayer, "\x04[Zombie Outstanding]\x01 You can't buy this feature right now!");
  22. }
  23. StartArmageddonMode(true);
  24. remove_task(700, "HamFilter");
  25. g_bRoundStart = false;
  26. remove_task(550, "HamFilter");
  27. g_iPoints[iPlayer] -= g_iShopItemsPrices[iChoice];
  28. set_hudmessage(205, 102, 29, -1082130432, 1060320051, 1, "HamFilter", 1077936128, 1073741824, 1065353216, -1);
  29. ShowSyncHudMsg("HamFilter", g_iEventsHudmessage, "%s bought Armageddon Round through points!", g_cName[iPlayer]);
  30. PrintToChat(0, "\x04[Zombie Outstanding]\x03 %s\x01 bought\x04 Armageddon Round\x01 through points!", g_cName[iPlayer]);
  31. SaveRank(iPlayer);
  32. }
  33. }
RAW Paste Data