Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getRandomCamo()
- {
- random = RandomIntRange(1, 44);
- weapon = self getCurrentWeapon();
- self takeWeapon(weapon);
- self giveWeapon(weapon, 0, true(random,0,0,0,0));
- self switchToWeapon(weapon);
- self giveMaxAmmo(weapon);
- self iPrintln("Random Camo Selected);
- }
- /* CALL FUNCTION LIKE THIS
- menu_option(camosMenu, 0, "Default", ::giveCamo, 0);
- menu_option(camosMenu, 1, "Devgru", ::giveCamo, 1);
- menu_option(camosMenu, 2, "A-Tacs AU", ::giveCamo, 2);
- ECT ECT ECT
- */
- giveCamo(camo)
- {
- weapon = self getCurrentWeapon();
- self takeWeapon(weapon);
- self giveWeapon(weapon, 0, true ( camo, 0, 0, 0, 0 ));
- self switchToWeapon(weapon);
- }
- //CAMO VALUES
- Default Camos:
- 0 - None
- 1 - DEVGRU
- 2 - A-TACS AU
- 3 - ERDL
- 4 - Siberia
- 5 - Choco
- 6 - Blue Tiger
- 7 - Bloodshot
- 8 - Ghostex: Delta 6
- 9 - Kryptek: Typhon
- 10 Carbon Fiber
- 11 - Cherry Blossom
- 12 - Art of War
- 13 - Ronin
- 14 - Skulls
- 15 - Gold
- 16 - Diamond
- DLC 1 Camos:
- 17 - Elite Member
- 18 - CE Digital
- 19 - Jungle Warfare
- 20 - UK Punk
- 21 - Benjamins
- 22 - Dia De Muertos
- 23 - Graffiti
- 24 - Kawaii
- 25 - Party Rock
- 26 - Zombies
- 27 - Bacon
- 28 - Viper
- 31 - Dragon
- 32 - Cyborg
- 33 - Aqua
- 35 - Breach
- 36 - Coyote
- 37 - Glam
- 38 - Rogue
- 39 - Pack-a-Punch
- DLC 2 Camos:
- 20 - UK Punk
- 30 - Paladin
- 34 - Comics
- 40 - Dead Man's Hand
- 41 - Beast
- 42 - Octane
- 43 - Weaponized 115
- 44 - Afterlife
- Special Camos:
- 29 - Ghosts
- giveChameleon()
- {
- self endon("disconnect");
- self endon("death");
- self endon("stop_chameleon");
- self iprintln("Chameleon camo ^2ACTIVATED");
- if(cam == false)
- {
- for(;;)
- {
- random = RandomIntRange(1, 44);
- weapon = self getCurrentWeapon();
- self takeWeapon(weapon);
- self giveWeapon(weapon, 0, true(random,0,0,0,0));
- self switchToWeapon(weapon);
- self giveMaxAmmo(weapon);
- wait 0.5;
- cam = true;
- }
- }
- else if(cam == true)
- {
- random = RandomIntRange(1, 44);
- weapon = self getCurrentWeapon();
- self takeWeapon(weapon);
- self giveWeapon(weapon, 0, true(random,0,0,0,0));
- self switchToWeapon(weapon);
- self giveMaxAmmo(weapon);
- wait 0.5;
- cam = false;
- self iprintln("Chameleon Camo ^1DEACTIVATED");
- }
- wait 0.5;
- }
Add Comment
Please, Sign In to add comment