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
(ZM) Editing The Mystery Box Price/Hiding It
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="CF4_99" data-source="post: 20309" data-attributes="member: 201"><p style="text-align: center">Hello Everyone, today I have another release, and it is 2 things,</p> <p style="text-align: center"><strong>1.</strong> <em><u>Changing The Price Of The Mystery Box To Whatever You Want.</u></em></p> <p style="text-align: center"><strong>2.</strong> <em><u>Hiding/Taking Away The Mystery Box</u></em></p> <p style="text-align: center"></p> <p style="text-align: center">I have been trying to find a way to change the price of the Mystery Box for a while and finally found it, I also stumbled across a code that hides the Mystery Box!</p> <p style="text-align: center">So Here It Is Enjoy! <img src="/styles/default/xenforo/smilies.emoji/people/smile.emoji.svg" class="smilie" loading="lazy" alt=":grinning:" title="Grinning :grinning:" data-shortname=":grinning:" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><em><u>Make Sure To Use This #include</u></em></strong></p> <p style="text-align: center"><em>#include maps/mp/zombies/_zm_magicbox;</em></p> <p style="text-align: center"></p><p><strong>Hide/Take Away Mystery Box</strong></p><p>[CODE]SetBoxHidden()</p><p>{</p><p> i = 0;</p><p> while(i < level.chests.size)</p><p> {</p><p> level.chests[ i ] hide_chest();</p><p> level.chests[ level.chest_index ].hidden = 1;</p><p> i++;</p><p> }</p><p> self iPrintln("Mystery Box ^2Hidden");</p><p>}[/CODE]</p><p></p><p></p><p><strong>Set Mystery Box Price</strong></p><p>[CODE]SetBoxCost()</p><p>{</p><p> i = 0;</p><p> while (i < level.chests.size)</p><p> {</p><p> level.chests[ i ].zombie_cost = 50;</p><p> level.chests[ i ].old_cost = 50;</p><p> i++;</p><p> }</p><p> self iPrintln("Mystery Box Cost Set To ^250");</p><p>}[/CODE]</p><p></p><p></p><p><strong>Set Mystery Box Price To Custom(Easier/Faster Way)</strong></p><p>[CODE]SetBoxCostCustom(cost)</p><p>{</p><p> i = 0;</p><p> while (i < level.chests.size)</p><p> {</p><p> level.chests[ i ].zombie_cost = cost;</p><p> level.chests[ i ].old_cost = cost;</p><p> i++;</p><p> }</p><p> self iPrintln("Mystery Box Cost Set To ^2"+cost+"");</p><p>}[/CODE]</p><p></p><p><strong>Example For The Custom Mystery Box Price</strong></p><p>[CODE]self add_option("MainMods", "Set Box Cost To 10", ::SetBoxCostCustom, 10);[/CODE]</p><p></p><p style="text-align: center"><strong><em><u>Credits:</u></em></strong></p> <p style="text-align: center"><em><span style="color: #ff0000">CabCon</span></em>(Didn't Realize He Already Found The hide_chest/show_chest)</p></blockquote><p></p>
[QUOTE="CF4_99, post: 20309, member: 201"] [CENTER]Hello Everyone, today I have another release, and it is 2 things, [B]1.[/B] [I][U]Changing The Price Of The Mystery Box To Whatever You Want.[/U][/I] [B]2.[/B] [I][U]Hiding/Taking Away The Mystery Box[/U][/I] I have been trying to find a way to change the price of the Mystery Box for a while and finally found it, I also stumbled across a code that hides the Mystery Box! So Here It Is Enjoy! :grinning: [B][I][U]Make Sure To Use This #include[/U][/I][/B] [I]#include maps/mp/zombies/_zm_magicbox;[/I] [/CENTER] [B]Hide/Take Away Mystery Box[/B] [CODE]SetBoxHidden() { i = 0; while(i < level.chests.size) { level.chests[ i ] hide_chest(); level.chests[ level.chest_index ].hidden = 1; i++; } self iPrintln("Mystery Box ^2Hidden"); }[/CODE] [B]Set Mystery Box Price[/B] [CODE]SetBoxCost() { i = 0; while (i < level.chests.size) { level.chests[ i ].zombie_cost = 50; level.chests[ i ].old_cost = 50; i++; } self iPrintln("Mystery Box Cost Set To ^250"); }[/CODE] [B]Set Mystery Box Price To Custom(Easier/Faster Way)[/B] [CODE]SetBoxCostCustom(cost) { i = 0; while (i < level.chests.size) { level.chests[ i ].zombie_cost = cost; level.chests[ i ].old_cost = cost; i++; } self iPrintln("Mystery Box Cost Set To ^2"+cost+""); }[/CODE] [B]Example For The Custom Mystery Box Price[/B] [CODE]self add_option("MainMods", "Set Box Cost To 10", ::SetBoxCostCustom, 10);[/CODE] [CENTER][B][I][U]Credits:[/U][/I][/B] [I][COLOR=#ff0000]CabCon[/COLOR][/I](Didn't Realize He Already Found The hide_chest/show_chest)[/CENTER] [/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
(ZM) Editing The Mystery Box Price/Hiding It
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