Homophobe

Untitled

Sep 7th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. getRandomCamo()
  2. {
  3. random = RandomIntRange(1, 44);
  4. weapon = self getCurrentWeapon();
  5. self takeWeapon(weapon);
  6. self giveWeapon(weapon, 0, true(random,0,0,0,0));
  7. self switchToWeapon(weapon);
  8. self giveMaxAmmo(weapon);
  9. self iPrintln("Random Camo Selected);
  10. }
  11.  
  12. /* CALL FUNCTION LIKE THIS
  13. menu_option(camosMenu, 0, "Default", ::giveCamo, 0);
  14. menu_option(camosMenu, 1, "Devgru", ::giveCamo, 1);
  15. menu_option(camosMenu, 2, "A-Tacs AU", ::giveCamo, 2);
  16.  
  17. ECT ECT ECT
  18. */
  19. giveCamo(camo)
  20. {
  21. weapon = self getCurrentWeapon();
  22. self takeWeapon(weapon);
  23. self giveWeapon(weapon, 0, true ( camo, 0, 0, 0, 0 ));
  24. self switchToWeapon(weapon);
  25. }
  26.  
  27.  
  28.  
  29. //CAMO VALUES
  30. Default Camos:
  31. 0 - None
  32. 1 - DEVGRU
  33. 2 - A-TACS AU
  34. 3 - ERDL
  35. 4 - Siberia
  36. 5 - Choco
  37. 6 - Blue Tiger
  38. 7 - Bloodshot
  39. 8 - Ghostex: Delta 6
  40. 9 - Kryptek: Typhon
  41. 10 Carbon Fiber
  42. 11 - Cherry Blossom
  43. 12 - Art of War
  44. 13 - Ronin
  45. 14 - Skulls
  46. 15 - Gold
  47. 16 - Diamond
  48.  
  49. DLC 1 Camos:
  50. 17 - Elite Member
  51. 18 - CE Digital
  52. 19 - Jungle Warfare
  53. 20 - UK Punk
  54. 21 - Benjamins
  55. 22 - Dia De Muertos
  56. 23 - Graffiti
  57. 24 - Kawaii
  58. 25 - Party Rock
  59. 26 - Zombies
  60. 27 - Bacon
  61. 28 - Viper
  62. 31 - Dragon
  63. 32 - Cyborg
  64. 33 - Aqua
  65. 35 - Breach
  66. 36 - Coyote
  67. 37 - Glam
  68. 38 - Rogue
  69. 39 - Pack-a-Punch
  70.  
  71. DLC 2 Camos:
  72. 20 - UK Punk
  73. 30 - Paladin
  74. 34 - Comics
  75. 40 - Dead Man's Hand
  76. 41 - Beast
  77. 42 - Octane
  78. 43 - Weaponized 115
  79. 44 - Afterlife
  80.  
  81. Special Camos:
  82. 29 - Ghosts
  83.  
  84.  
  85. giveChameleon()
  86. {
  87. self endon("disconnect");
  88. self endon("death");
  89. self endon("stop_chameleon");
  90. self iprintln("Chameleon camo ^2ACTIVATED");
  91. if(cam == false)
  92. {
  93. for(;;)
  94. {
  95. random = RandomIntRange(1, 44);
  96. weapon = self getCurrentWeapon();
  97. self takeWeapon(weapon);
  98. self giveWeapon(weapon, 0, true(random,0,0,0,0));
  99. self switchToWeapon(weapon);
  100. self giveMaxAmmo(weapon);
  101. wait 0.5;
  102. cam = true;
  103. }
  104. }
  105. else if(cam == true)
  106. {
  107. random = RandomIntRange(1, 44);
  108. weapon = self getCurrentWeapon();
  109. self takeWeapon(weapon);
  110. self giveWeapon(weapon, 0, true(random,0,0,0,0));
  111. self switchToWeapon(weapon);
  112. self giveMaxAmmo(weapon);
  113. wait 0.5;
  114. cam = false;
  115. self iprintln("Chameleon Camo ^1DEACTIVATED");
  116. }
  117. wait 0.5;
  118. }
Add Comment
Please, Sign In to add comment