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 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Zombies Assistance
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="vampytwist" data-source="post: 28941" data-attributes="member: 31216"><p>In the strTok for your give weapons you're using _mp for zombies, also in black ops 3 you don't need to use _zm or _mp prefix to give weapons like in past cod's. And a more efficient way in my opinion for giving weapons in zombies is to do something like this:</p><p></p><p>[code] //Non upgraded weapons</p><p> self MM("weapons","Normal Weapons");</p><p> a_keys = GetArrayKeys(level.zombie_weapons);</p><p> for ( i = 0; i < a_keys.size; i++ )</p><p> {</p><p> self MO("Weapons", i, a_keys[i].name, &GiveWeaponClass, a_keys[i]);</p><p> }</p><p>[/code]</p><p>[code] //All upgraded weapons</p><p> self MM("papweaps","Upgraded Weapons");</p><p> a_keys = GetArrayKeys(level.zombie_weapons_upgraded);</p><p> for ( i = 0; i < a_keys.size; i++ )</p><p> {</p><p> self MO("Weapons", i, a_keys[i].name, &GiveWeaponClass, a_keys[i]);</p><p> }</p><p>[/code]</p></blockquote><p></p>
[QUOTE="vampytwist, post: 28941, member: 31216"] In the strTok for your give weapons you're using _mp for zombies, also in black ops 3 you don't need to use _zm or _mp prefix to give weapons like in past cod's. And a more efficient way in my opinion for giving weapons in zombies is to do something like this: [code] //Non upgraded weapons self MM("weapons","Normal Weapons"); a_keys = GetArrayKeys(level.zombie_weapons); for ( i = 0; i < a_keys.size; i++ ) { self MO("Weapons", i, a_keys[i].name, &GiveWeaponClass, a_keys[i]); } [/code] [code] //All upgraded weapons self MM("papweaps","Upgraded Weapons"); a_keys = GetArrayKeys(level.zombie_weapons_upgraded); for ( i = 0; i < a_keys.size; i++ ) { self MO("Weapons", i, a_keys[i].name, &GiveWeaponClass, a_keys[i]); } [/code] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Zombies Assistance
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