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
Black Ops 3 GSC Mod Menu Base by CabCon | Simple +Source and Download
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="CabCon" data-source="post: 12763" data-attributes="member: 1"><p>Hello everyone,</p><p>today I present you my old menu base! I ported it to Black Ops 3! It's very bad coded but anyways maybe it help some people! <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></p><p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">Preview</span></span></strong></p> <p style="text-align: center"><img src="http://image.prntscr.com/image/ce6f004a666c4923ab796a2310e4a259.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"><img src="http://image.prntscr.com/image/2ef2ba0192304af2b64fab89c5f3b2b8.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"><img src="http://image.prntscr.com/image/76777efa53fc40fb89fbf4ce89f557ec.jpeg" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p> <p style="text-align: center">[MEDIA=youtube]lduC726v6UE[/MEDIA]</p> <p style="text-align: center">[MEDIA=youtube]-ljdXl5U6oA[/MEDIA]</p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">Credits</span></span></strong></p> <p style="text-align: center">CabCon</p> <p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">Source</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">[CODE]/*</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┏━━━┓╋╋┏┓╋┏━━━┓╋╋╋╋╋┏━┓┏━┓╋╋╋╋┏┓╋┏┓</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┃┏━┓┃╋╋┃┃╋┃┏━┓┃╋╋╋╋╋┃┃┗┛┃┃╋╋╋╋┃┃╋┃┃</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┃┃╋┗╋━━┫┗━┫┃╋┗╋━━┳━┓┃┏┓┏┓┣━━┳━┛┣━┛┣┳━┓┏━━┓</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┃┃╋┏┫┏┓┃┏┓┃┃╋┏┫┏┓┃┏┓┫┃┃┃┃┃┏┓┃┏┓┃┏┓┣┫┏┓┫┏┓┃</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┃┗━┛┃┏┓┃┗┛┃┗━┛┃┗┛┃┃┃┃┃┃┃┃┃┗┛┃┗┛┃┗┛┃┃┃┃┃┗┛┃</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">┗━━━┻┛┗┻━━┻━━━┻━━┻┛┗┻┛┗┛┗┻━━┻━━┻━━┻┻┛┗┻━┓┃</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┏━┛┃</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┗━━┛</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">This is a really old base! It's just ported, the code is quite bad.</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">Check out: https://cabconmodding.com/</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">For more Black Ops 3 Source and scripts or mods: https://cabconmodding.com/forums/call-of-duty-black-ops-3-mods-and-scripts.8/</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">*/</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">#using scripts\codescripts\struct;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">#using scripts\shared\callbacks_shared;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">#using scripts\shared\system_shared;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">#insert scripts\shared\shared.gsh;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">#namespace clientids;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">REGISTER_SYSTEM( "clientids", &__init__, undefined )</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function __init__()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> callback::on_start_gametype( &init );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> callback::on_connect( &on_player_connect );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> callback::on_spawned( &on_player_spawned );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function init()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> level.clientid = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function on_player_connect()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.clientid = matchRecordNewPlayer( self );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if ( !isdefined( self.clientid ) || self.clientid == -1 )</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.clientid = level.clientid;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> level.clientid++; </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function on_player_spawned()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> iPrintln("^1cabconmodding.com");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self freezecontrols(false);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.menu["active"]))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread init_menuSystem();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menu["active"] = true;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iprintln("Welcome to "+self.menu["name"]+" ^7for Black Ops 3");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iprintln("By ^2CabCon");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self initMenuOpts();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread initMenu();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function init_menuSystem()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menu = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menu["name"] = "BO3 Mod Menu";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function initMenuOpts()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addMenu("main", self.menu["name"], undefined);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Main Menu", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Weapons", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Game Settings", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Models", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Bullets", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Messages", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Perks", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Admin Menu", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Host Menu", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Aimbot", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "Clients", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main", "All Clients", &subMenu, "main_mods");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addMenu("main_mods", "Main Mods", "main");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main_mods", "God Mode", &func_godmode);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main_mods", "Unlimited Ammo", &func_unlimitedAmmo);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main_mods", "Ufo Mode", &func_ufomode);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main_mods", "Field of View", &test);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self addOpt("main_mods", "Print something!", &test);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function initMenu()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openBox = self createRectangle("CENTER", "CENTER", 480, 0, 200, 0, (0, 0, 0), "white", 1, 0);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.currentMenu = "main";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> for(;;)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self adsButtonPressed() && self MeleeButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.inMenu))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.inMenu = true;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openText = self createText("default", 2, "TOP", "TOP", self.openBox.x - 40, 20, 2, 1, (0, 0, 0), self.menu["name"]);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openBox.alpha = .7;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> menuOpts = self.menuAction[self.currentMenu].opt.size;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openBox scaleOverTime(.4, 200, ((455)+45));</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .4;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openText setText(self.menuAction[self.currentMenu].title);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> string = "";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> for(m = 0; m < menuOpts; m++)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> string+= self.menuAction[self.currentMenu].opt[m]+"\n";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuText = self createText("default", 1.5, "TOP", "TOP", self.openBox.x - 80, 100, 3, 1, undefined, string);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar = self createRectangle("CENTER", "CENTER", self.openBox.x, ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/15))), 200, 15, (0, 1, 0), "white", 2, .7);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(isDefined(self.inMenu))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self attackButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs++;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self.menuCurs > self.menuAction[self.currentMenu].opt.size-1)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar moveOverTime(.15);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/17)));</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .15;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self adsButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs--;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self.menuCurs < 0)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs = self.menuAction[self.currentMenu].opt.size-1;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar moveOverTime(.15);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/17)));</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .15;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self useButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread [[self.menuAction[self.currentMenu].func[self.menuCurs]]](self.menuAction[self.currentMenu].inp[self.menuCurs]);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .2;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self meleeButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.menuAction[self.currentMenu].parent))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread func_menuexiut();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> else</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self subMenu(self.menuAction[self.currentMenu].parent);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .05;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_menuexiut()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.inMenu = undefined;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openText destroy(); </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openBox scaleOverTime(.4, 200, 30);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuText destroy();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar destroy();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openBox.alpha = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .4;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self freezecontrols(false);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function subMenu(menu)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuCurs = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.currentMenu = menu;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar moveOverTime(.2);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/15)));</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuText destroy();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.openText setText(self.menuAction[self.currentMenu].title);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> menuOpts = self.menuAction[self.currentMenu].opt.size;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .2;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> string = "";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> for(m = 0; m < menuOpts; m++)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> string+= self.menuAction[self.currentMenu].opt[m]+"\n";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuText = self createText("default", 1.5, "TOP", "TOP", self.openBox.x - 80, 100, 3, 1, undefined, string);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .2;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function test()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("^9Comming Soon");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function addMenu(menu, title, parent)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.menuAction))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu] = spawnStruct();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].title = title;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].parent = parent;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].opt = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].func = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].inp = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function addOpt(menu, opt, func, inp)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> m = self.menuAction[menu].opt.size;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].opt[m] = opt;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].func[m] = func;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.menuAction[menu].inp[m] = inp;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function createText(font, fontScale, align, relative, x, y, sort, alpha, glow, text)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem = newClientHudElem(self);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.sort = sort;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.alpha = alpha;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.x = x;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.y = y;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.glowColor = glow;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.glowAlpha = 1;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem.fontScale = fontScale;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> textElem setText(text);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> return textElem;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function createRectangle(align, relative, x, y, width, height, color, shader, sort, alpha)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem = newClientHudElem(self);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.elemType = "bar";</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!level.splitScreen)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.x = -2;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.y = -2;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.width = width;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.height = height;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.align = align;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.relative = relative;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.xOffset = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.yOffset = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.children = [];</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.sort = sort;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.color = color;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.alpha = alpha;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem setShader(shader, width, height);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.hidden = false;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.x = x;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.y = y;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.alignX = align;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> boxElem.alignY = relative;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> return boxElem;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">// Functions</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_godmode()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.gamevars["godmode"]))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["godmode"] = true;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self enableInvulnerability();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iprintln("God Mode ^2ON");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> else</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["godmode"] = undefined;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self disableInvulnerability();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iprintln("God Mode ^1OFF");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_ufomode()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.gamevars["ufomode"]))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread func_activeUfo();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["ufomode"] = true;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("UFO Mode ^2ON");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("Press [{+frag}] To Fly");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> else</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self notify("func_ufomode_stop");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["ufomode"] = undefined;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("UFO Mode ^1OFF");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_activeUfo()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self endon("func_ufomode_stop");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.Fly = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> UFO = spawn("script_model",self.origin);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> for(;;)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self FragButtonPressed())</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self playerLinkTo(UFO);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.Fly = 1;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> else</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self unlink();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.Fly = 0;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self.Fly == 1)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> UFO moveTo(Fly,.01);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .001;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function vector_scal(vec, scale)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> return vec;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_unlimitedAmmo()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(!isDefined(self.gamevars["ammo_weap"]))</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self notify("stop_ammo");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self thread func_ammo();</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("Unlimited Ammo ^2ON");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["ammo_weap"] = true;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> else</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self notify("stop_ammo");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self.gamevars["ammo_weap"] = undefined;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self iPrintln("Unlimited Ammo ^1OFF");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">function func_ammo()</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">{</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self endon("stop_ammo");</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> for(;;)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if(self.gamevars["ammo_weap"]==true)</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> { </span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> if ( self getcurrentweapon() != "none" )</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> {</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self setweaponammostock( self getcurrentweapon(), 1337 );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> self setweaponammoclip( self getcurrentweapon(), 1337 );</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> wait .1;</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"> }</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">}[/CODE]</span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p><p></p><p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300"></span></span></strong></p> <p style="text-align: center"><strong><span style="font-size: 18px"><span style="color: #59b300">Download</span></span></strong></p> <p style="text-align: center"><a href="https://cabconmodding.com/attachments/mp_menu_base-rar.604/?temp_hash=e0c65eaa087441df924cad1e3256172a" target="_blank">CabConModding (Mods folder) Multiplayer</a></p> <p style="text-align: center"><a href="https://cabconmodding.com/attachments/zm_menu_base-rar.1015" target="_blank">CabConModding (Mods folder) Zombie</a></p> <p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center"><img src="/styles/costum/logo/logo.emoji.svg" class="smilie" loading="lazy" alt=":cabconmodding:" title="CCM :cabconmodding:" data-shortname=":cabconmodding:" /></p></blockquote><p></p>
[QUOTE="CabCon, post: 12763, member: 1"] Hello everyone, today I present you my old menu base! I ported it to Black Ops 3! It's very bad coded but anyways maybe it help some people! :grinning: [CENTER][B][SIZE=5][COLOR=#59b300]Preview[/COLOR][/SIZE][/B] [IMG]http://image.prntscr.com/image/ce6f004a666c4923ab796a2310e4a259.png[/IMG] [IMG]http://image.prntscr.com/image/2ef2ba0192304af2b64fab89c5f3b2b8.png[/IMG] [IMG]http://image.prntscr.com/image/76777efa53fc40fb89fbf4ce89f557ec.jpeg[/IMG] [MEDIA=youtube]lduC726v6UE[/MEDIA] [MEDIA=youtube]-ljdXl5U6oA[/MEDIA] [B][SIZE=5][COLOR=#59b300]Credits[/COLOR][/SIZE][/B] CabCon [B][SIZE=5][COLOR=#59b300]Source [CODE]/* ┏━━━┓╋╋┏┓╋┏━━━┓╋╋╋╋╋┏━┓┏━┓╋╋╋╋┏┓╋┏┓ ┃┏━┓┃╋╋┃┃╋┃┏━┓┃╋╋╋╋╋┃┃┗┛┃┃╋╋╋╋┃┃╋┃┃ ┃┃╋┗╋━━┫┗━┫┃╋┗╋━━┳━┓┃┏┓┏┓┣━━┳━┛┣━┛┣┳━┓┏━━┓ ┃┃╋┏┫┏┓┃┏┓┃┃╋┏┫┏┓┃┏┓┫┃┃┃┃┃┏┓┃┏┓┃┏┓┣┫┏┓┫┏┓┃ ┃┗━┛┃┏┓┃┗┛┃┗━┛┃┗┛┃┃┃┃┃┃┃┃┃┗┛┃┗┛┃┗┛┃┃┃┃┃┗┛┃ ┗━━━┻┛┗┻━━┻━━━┻━━┻┛┗┻┛┗┛┗┻━━┻━━┻━━┻┻┛┗┻━┓┃ ╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┏━┛┃ ╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋╋┗━━┛ This is a really old base! It's just ported, the code is quite bad. Check out: https://cabconmodding.com/ For more Black Ops 3 Source and scripts or mods: https://cabconmodding.com/forums/call-of-duty-black-ops-3-mods-and-scripts.8/ */ #using scripts\codescripts\struct; #using scripts\shared\callbacks_shared; #using scripts\shared\system_shared; #insert scripts\shared\shared.gsh; #namespace clientids; REGISTER_SYSTEM( "clientids", &__init__, undefined ) function __init__() { callback::on_start_gametype( &init ); callback::on_connect( &on_player_connect ); callback::on_spawned( &on_player_spawned ); } function init() { level.clientid = 0; } function on_player_connect() { self.clientid = matchRecordNewPlayer( self ); if ( !isdefined( self.clientid ) || self.clientid == -1 ) { self.clientid = level.clientid; level.clientid++; } } function on_player_spawned() { iPrintln("^1cabconmodding.com"); self freezecontrols(false); if(!isDefined(self.menu["active"])) { self thread init_menuSystem(); self.menu["active"] = true; self iprintln("Welcome to "+self.menu["name"]+" ^7for Black Ops 3"); self iprintln("By ^2CabCon"); self initMenuOpts(); self thread initMenu(); } } function init_menuSystem() { self.menu = []; self.gamevars = []; self.menu["name"] = "BO3 Mod Menu"; } function initMenuOpts() { self addMenu("main", self.menu["name"], undefined); self addOpt("main", "Main Menu", &subMenu, "main_mods"); self addOpt("main", "Weapons", &subMenu, "main_mods"); self addOpt("main", "Game Settings", &subMenu, "main_mods"); self addOpt("main", "Models", &subMenu, "main_mods"); self addOpt("main", "Bullets", &subMenu, "main_mods"); self addOpt("main", "Messages", &subMenu, "main_mods"); self addOpt("main", "Perks", &subMenu, "main_mods"); self addOpt("main", "Admin Menu", &subMenu, "main_mods"); self addOpt("main", "Host Menu", &subMenu, "main_mods"); self addOpt("main", "Aimbot", &subMenu, "main_mods"); self addOpt("main", "Clients", &subMenu, "main_mods"); self addOpt("main", "All Clients", &subMenu, "main_mods"); self addMenu("main_mods", "Main Mods", "main"); self addOpt("main_mods", "God Mode", &func_godmode); self addOpt("main_mods", "Unlimited Ammo", &func_unlimitedAmmo); self addOpt("main_mods", "Ufo Mode", &func_ufomode); self addOpt("main_mods", "Field of View", &test); self addOpt("main_mods", "Print something!", &test); } function initMenu() { self.openBox = self createRectangle("CENTER", "CENTER", 480, 0, 200, 0, (0, 0, 0), "white", 1, 0); self.currentMenu = "main"; self.menuCurs = 0; for(;;) { if(self adsButtonPressed() && self MeleeButtonPressed()) { if(!isDefined(self.inMenu)) { self.inMenu = true; self.openText = self createText("default", 2, "TOP", "TOP", self.openBox.x - 40, 20, 2, 1, (0, 0, 0), self.menu["name"]); self.openBox.alpha = .7; menuOpts = self.menuAction[self.currentMenu].opt.size; self.openBox scaleOverTime(.4, 200, ((455)+45)); wait .4; self.openText setText(self.menuAction[self.currentMenu].title); string = ""; for(m = 0; m < menuOpts; m++) string+= self.menuAction[self.currentMenu].opt[m]+"\n"; self.menuText = self createText("default", 1.5, "TOP", "TOP", self.openBox.x - 80, 100, 3, 1, undefined, string); self.scrollBar = self createRectangle("CENTER", "CENTER", self.openBox.x, ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/15))), 200, 15, (0, 1, 0), "white", 2, .7); } } if(isDefined(self.inMenu)) { if(self attackButtonPressed()) { self.menuCurs++; if(self.menuCurs > self.menuAction[self.currentMenu].opt.size-1) self.menuCurs = 0; self.scrollBar moveOverTime(.15); self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/17))); wait .15; } if(self adsButtonPressed()) { self.menuCurs--; if(self.menuCurs < 0) self.menuCurs = self.menuAction[self.currentMenu].opt.size-1; self.scrollBar moveOverTime(.15); self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/17))); wait .15; } if(self useButtonPressed()) { self thread [[self.menuAction[self.currentMenu].func[self.menuCurs]]](self.menuAction[self.currentMenu].inp[self.menuCurs]); wait .2; } if(self meleeButtonPressed()) { if(!isDefined(self.menuAction[self.currentMenu].parent)) { self thread func_menuexiut(); } else self subMenu(self.menuAction[self.currentMenu].parent); } } wait .05; } } function func_menuexiut() { self.inMenu = undefined; self.openText destroy(); self.openBox scaleOverTime(.4, 200, 30); self.menuText destroy(); self.scrollBar destroy(); self.openBox.alpha = 0; wait .4; self freezecontrols(false); } function subMenu(menu) { self.menuCurs = 0; self.currentMenu = menu; self.scrollBar moveOverTime(.2); self.scrollBar.y = ((self.menuCurs*17.98)+((self.menuText.y+2.5)-(17.98/15))); self.menuText destroy(); self.openText setText(self.menuAction[self.currentMenu].title); menuOpts = self.menuAction[self.currentMenu].opt.size; wait .2; string = ""; for(m = 0; m < menuOpts; m++) string+= self.menuAction[self.currentMenu].opt[m]+"\n"; self.menuText = self createText("default", 1.5, "TOP", "TOP", self.openBox.x - 80, 100, 3, 1, undefined, string); wait .2; } function test() { self iPrintln("^9Comming Soon"); } function addMenu(menu, title, parent) { if(!isDefined(self.menuAction)) self.menuAction = []; self.menuAction[menu] = spawnStruct(); self.menuAction[menu].title = title; self.menuAction[menu].parent = parent; self.menuAction[menu].opt = []; self.menuAction[menu].func = []; self.menuAction[menu].inp = []; } function addOpt(menu, opt, func, inp) { m = self.menuAction[menu].opt.size; self.menuAction[menu].opt[m] = opt; self.menuAction[menu].func[m] = func; self.menuAction[menu].inp[m] = inp; } function createText(font, fontScale, align, relative, x, y, sort, alpha, glow, text) { textElem = newClientHudElem(self); textElem.sort = sort; textElem.alpha = alpha; textElem.x = x; textElem.y = y; textElem.glowColor = glow; textElem.glowAlpha = 1; textElem.fontScale = fontScale; textElem setText(text); return textElem; } function createRectangle(align, relative, x, y, width, height, color, shader, sort, alpha) { boxElem = newClientHudElem(self); boxElem.elemType = "bar"; if(!level.splitScreen) { boxElem.x = -2; boxElem.y = -2; } boxElem.width = width; boxElem.height = height; boxElem.align = align; boxElem.relative = relative; boxElem.xOffset = 0; boxElem.yOffset = 0; boxElem.children = []; boxElem.sort = sort; boxElem.color = color; boxElem.alpha = alpha; boxElem setShader(shader, width, height); boxElem.hidden = false; boxElem.x = x; boxElem.y = y; boxElem.alignX = align; boxElem.alignY = relative; return boxElem; } // Functions function func_godmode() { if(!isDefined(self.gamevars["godmode"])) { self.gamevars["godmode"] = true; self enableInvulnerability(); self iprintln("God Mode ^2ON"); } else { self.gamevars["godmode"] = undefined; self disableInvulnerability(); self iprintln("God Mode ^1OFF"); } } function func_ufomode() { if(!isDefined(self.gamevars["ufomode"])) { self thread func_activeUfo(); self.gamevars["ufomode"] = true; self iPrintln("UFO Mode ^2ON"); self iPrintln("Press [{+frag}] To Fly"); } else { self notify("func_ufomode_stop"); self.gamevars["ufomode"] = undefined; self iPrintln("UFO Mode ^1OFF"); } } function func_activeUfo() { self endon("func_ufomode_stop"); self.Fly = 0; UFO = spawn("script_model",self.origin); for(;;) { if(self FragButtonPressed()) { self playerLinkTo(UFO); self.Fly = 1; } else { self unlink(); self.Fly = 0; } if(self.Fly == 1) { Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20); UFO moveTo(Fly,.01); } wait .001; } } function vector_scal(vec, scale) { vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale); return vec; } function func_unlimitedAmmo() { if(!isDefined(self.gamevars["ammo_weap"])) { self notify("stop_ammo"); self thread func_ammo(); self iPrintln("Unlimited Ammo ^2ON"); self.gamevars["ammo_weap"] = true; } else { self notify("stop_ammo"); self.gamevars["ammo_weap"] = undefined; self iPrintln("Unlimited Ammo ^1OFF"); } } function func_ammo() { self endon("stop_ammo"); for(;;) { if(self.gamevars["ammo_weap"]==true) { if ( self getcurrentweapon() != "none" ) { self setweaponammostock( self getcurrentweapon(), 1337 ); self setweaponammoclip( self getcurrentweapon(), 1337 ); } } wait .1; } }[/CODE] [/COLOR][/SIZE][/B][/CENTER] [CENTER][B][SIZE=5][COLOR=#59b300] Download[/COLOR][/SIZE][/B] [URL='https://cabconmodding.com/attachments/mp_menu_base-rar.604/?temp_hash=e0c65eaa087441df924cad1e3256172a']CabConModding (Mods folder) Multiplayer[/URL] [URL='https://cabconmodding.com/attachments/zm_menu_base-rar.1015']CabConModding (Mods folder) Zombie[/URL] :cabcon:[/CENTER] [/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
Black Ops 3 GSC Mod Menu Base by CabCon | Simple +Source and Download
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