CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[NOOBS] "How to GSC"
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Harry" data-source="post: 9702" data-attributes="member: 35"><p>This is how to replace the current weapon your holding:</p><p>[CODE]BG_GivePlayerWeapon(weapon)</p><p>{</p><p> weap = self getCurrentWeapon();</p><p> self takeWeapon(self getCurrentWeapon());</p><p> self giveWeapon(weapon,0,true(45,0,0,0,0));</p><p> self switchToWeapon(weapon);</p><p> self giveMaxAmmo(weapon);</p><p> self iPrintln("^7"+weapon+" Given");</p><p>}[/CODE]</p><p></p><p>Some cool things,</p><p>here:</p><p> self giveWeapon(weapon,0,true(45,0,0,0,0));</p><p>where it says '45', you can change that to any of the camo codes (0 = default skin)</p><p>Camos:</p><p>[CODE] self add_option("Default_C", "None", ::SetCamo, 0);</p><p> self add_option("Default_C", "DEVGRU", ::SetCamo, 1);</p><p> self add_option("Default_C", "ERDL", ::SetCamo, 3);</p><p> self add_option("Default_C", "Siberia", ::SetCamo, 4);</p><p> self add_option("Default_C", "Choco", ::SetCamo, 5);</p><p> self add_option("Default_C", "Blue Tiger", ::SetCamo, 6);</p><p> self add_option("Default_C", "Bloodshot", ::SetCamo, 7);</p><p> self add_option("Default_C", "Delta 6", ::SetCamo, 8);</p><p> self add_option("Default_C", "Typhon", ::SetCamo, 9);</p><p> self add_option("Default_C", "Carbon Fiber", ::SetCamo, 10);</p><p> self add_option("Default_C", "Cherry Blossom", ::SetCamo, 11);</p><p> self add_option("Default_C", "Art of War", ::SetCamo, 12);</p><p> self add_option("Default_C", "Ronin", ::SetCamo, 13);</p><p> self add_option("Default_C", "Skulls", ::SetCamo, 14);</p><p> self add_option("Default_C", "Gold", ::SetCamo, 15); </p><p> self add_option("Default_C", "Diamond", ::SetCamo, 16);</p><p></p><p> self add_option("DLC_C", "Jungle Warfare", ::SetCamo, 19);</p><p> self add_option("DLC_C", "Benjamins", ::SetCamo, 21);</p><p> self add_option("DLC_C", "Die De Muertos", ::SetCamo, 22);</p><p> self add_option("DLC_C", "Graffiti", ::SetCamo, 23);</p><p> self add_option("DLC_C", "Kawaii", ::SetCamo, 24);</p><p> self add_option("DLC_C", "Party Rock", ::SetCamo, 25);</p><p> self add_option("DLC_C", "Zombies", ::SetCamo, 26);</p><p> self add_option("DLC_C", "Bacon", ::SetCamo, 28);</p><p> self add_option("DLC_C", "Cyborg", ::SetCamo, 31);</p><p> self add_option("DLC_C", "Dragon", ::SetCamo, 32);</p><p> self add_option("DLC_C", "Aqua", ::SetCamo, 34);</p><p> self add_option("DLC_C", "Breach", ::SetCamo, 35);</p><p> self add_option("DLC_C", "Coyote", ::SetCamo, 36);</p><p> self add_option("DLC_C", "Glam", ::SetCamo, 37);</p><p> self add_option("DLC_C", "Rogue", ::SetCamo, 38);</p><p> </p><p> self add_option("DLC2_C", "UK Punk", ::SetCamo, 20);</p><p> self add_option("DLC2_C", "Paladin", ::SetCamo, 30);</p><p> self add_option("DLC2_C", "Comics", ::SetCamo, 33);</p><p> self add_option("DLC2_C", "Afterlife", ::SetCamo, 44);</p><p> self add_option("DLC2_C", "Dead Man's Hand", ::SetCamo, 40);</p><p> self add_option("DLC2_C", "Beast", ::SetCamo, 41);</p><p> self add_option("DLC2_C", "Octance", ::SetCamo, 42);</p><p> self add_option("DLC2_C", "Weaponized 115", ::SetCamo, 43);</p><p> </p><p> </p><p> </p><p> self add_option("Collect_C", "Elite Member", ::SetCamo, 17);</p><p> self add_option("Collect_C", "CE Digital", ::SetCamo, 18);</p><p> self add_option("Collect_C", "Ghosts Camo", ::SetCamo, 29);</p><p> self add_option("Collect_C", "Advanced Warfare", ::SetCamo, 45);[/CODE]</p><p></p><p>JUST USE THE NUMBERS AT THE VERY END.</p><p></p><p>Weapon Codes:</p><p>MP: <a href="http://pastebin.com/wEq07Yzw" target="_blank">870mcs_mp ai_tank_drone_gun_mp ai_tank_drone_rocket_mp ai_tank_drop_mp airst - Pastebin.com</a></p><p>ZM: <a href="http://pastebin.com/aKBQg9RJ" target="_blank">870mcs_upgraded_zm 870mcs_zm ak47_upgraded_zm ak47_zm ak74u_extclip_upgraded - Pastebin.com</a></p><p></p><p>How to call them:</p><p>[CODE]self add_option("SubMenu", "OptionName", ::bg_giveplayerweapon, "WeaponCode");[/CODE]</p></blockquote><p></p>
[QUOTE="Harry, post: 9702, member: 35"] This is how to replace the current weapon your holding: [CODE]BG_GivePlayerWeapon(weapon) { weap = self getCurrentWeapon(); self takeWeapon(self getCurrentWeapon()); self giveWeapon(weapon,0,true(45,0,0,0,0)); self switchToWeapon(weapon); self giveMaxAmmo(weapon); self iPrintln("^7"+weapon+" Given"); }[/CODE] Some cool things, here: self giveWeapon(weapon,0,true(45,0,0,0,0)); where it says '45', you can change that to any of the camo codes (0 = default skin) Camos: [CODE] self add_option("Default_C", "None", ::SetCamo, 0); self add_option("Default_C", "DEVGRU", ::SetCamo, 1); self add_option("Default_C", "ERDL", ::SetCamo, 3); self add_option("Default_C", "Siberia", ::SetCamo, 4); self add_option("Default_C", "Choco", ::SetCamo, 5); self add_option("Default_C", "Blue Tiger", ::SetCamo, 6); self add_option("Default_C", "Bloodshot", ::SetCamo, 7); self add_option("Default_C", "Delta 6", ::SetCamo, 8); self add_option("Default_C", "Typhon", ::SetCamo, 9); self add_option("Default_C", "Carbon Fiber", ::SetCamo, 10); self add_option("Default_C", "Cherry Blossom", ::SetCamo, 11); self add_option("Default_C", "Art of War", ::SetCamo, 12); self add_option("Default_C", "Ronin", ::SetCamo, 13); self add_option("Default_C", "Skulls", ::SetCamo, 14); self add_option("Default_C", "Gold", ::SetCamo, 15); self add_option("Default_C", "Diamond", ::SetCamo, 16); self add_option("DLC_C", "Jungle Warfare", ::SetCamo, 19); self add_option("DLC_C", "Benjamins", ::SetCamo, 21); self add_option("DLC_C", "Die De Muertos", ::SetCamo, 22); self add_option("DLC_C", "Graffiti", ::SetCamo, 23); self add_option("DLC_C", "Kawaii", ::SetCamo, 24); self add_option("DLC_C", "Party Rock", ::SetCamo, 25); self add_option("DLC_C", "Zombies", ::SetCamo, 26); self add_option("DLC_C", "Bacon", ::SetCamo, 28); self add_option("DLC_C", "Cyborg", ::SetCamo, 31); self add_option("DLC_C", "Dragon", ::SetCamo, 32); self add_option("DLC_C", "Aqua", ::SetCamo, 34); self add_option("DLC_C", "Breach", ::SetCamo, 35); self add_option("DLC_C", "Coyote", ::SetCamo, 36); self add_option("DLC_C", "Glam", ::SetCamo, 37); self add_option("DLC_C", "Rogue", ::SetCamo, 38); self add_option("DLC2_C", "UK Punk", ::SetCamo, 20); self add_option("DLC2_C", "Paladin", ::SetCamo, 30); self add_option("DLC2_C", "Comics", ::SetCamo, 33); self add_option("DLC2_C", "Afterlife", ::SetCamo, 44); self add_option("DLC2_C", "Dead Man's Hand", ::SetCamo, 40); self add_option("DLC2_C", "Beast", ::SetCamo, 41); self add_option("DLC2_C", "Octance", ::SetCamo, 42); self add_option("DLC2_C", "Weaponized 115", ::SetCamo, 43); self add_option("Collect_C", "Elite Member", ::SetCamo, 17); self add_option("Collect_C", "CE Digital", ::SetCamo, 18); self add_option("Collect_C", "Ghosts Camo", ::SetCamo, 29); self add_option("Collect_C", "Advanced Warfare", ::SetCamo, 45);[/CODE] JUST USE THE NUMBERS AT THE VERY END. Weapon Codes: MP: [url="http://pastebin.com/wEq07Yzw"]870mcs_mp ai_tank_drone_gun_mp ai_tank_drone_rocket_mp ai_tank_drop_mp airst - Pastebin.com[/url] ZM: [url="http://pastebin.com/aKBQg9RJ"]870mcs_upgraded_zm 870mcs_zm ak47_upgraded_zm ak47_zm ak74u_extclip_upgraded - Pastebin.com[/url] How to call them: [CODE]self add_option("SubMenu", "OptionName", ::bg_giveplayerweapon, "WeaponCode");[/CODE] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
[NOOBS] "How to GSC"
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top