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
Call of Duty: Black Ops 3 Scripts Question
can somebody tell me whats wrong with this?
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="JayCoder" data-source="post: 12899" data-attributes="member: 11522"><p>[PHP]/*</p><p>Impossible With Out CabCon <3 Love Him Alway's Helping Me Alway's, Also His Raw He Is Giving Out Helps All The Way</p><p></p><p> ___ _ _______ ___ _ </p><p> .' \ ___ \ ___ ___ __. , __ ' / ___ , . .' \ __. ___/ ___ .___</p><p> | / ` |/ \ .' ` .' \ |' `. | / ` | ` | .' \ / | .' ` / \</p><p> | | | | ` | | | | | | | | | | | | | ,' | |----' | '</p><p> `.__, `.__/| `___,' `._.' `._.' / | `--/ `.__/| `---|. `.__, `._.' `___,' `.___, /</p><p> \___/ ` </p><p> </p><p> .___ . . _ .</p><p> / ` ___ | _/_ ___ \ ___ __. _/_</p><p> | | .' ` | | / ` |/ \ .' \ |</p><p> | | |----' | | | | | ` | | |</p><p> /---/ `.___, /\__ \__/ `.__/| `___,' `._.' \__/ </p><p>Version: 1.0.0.0</p><p>File Size Currently: (491-600)</p><p>Find More Script's At CabconModding.Com</p><p>If Your Needing Help Contact Me On</p><p>CabCon: JayCoder</p><p>Skype: juggloswag</p><p>Youtube: JayCoder</p><p></p><p>Menu Will Be Here Soon :D</p><p></p><p>More Credits: Yep</p><p></p><p>Deltabot - Help fix alot of the code up</p><p>CabCon - Help Me By Giving a menu source</p><p>JayCoder - building menu and scripts</p><p>Jᴏᴋᴇʀ - Tones Of Testing</p><p>*/</p><p>#using scripts\codescripts\struct;</p><p>#using scripts\shared\callbacks_shared;</p><p>#using scripts\shared\system_shared;</p><p>#using scripts\mp\_load;</p><p>#using scripts\mp\_scoreevents;</p><p>#insert scripts\shared\shared.gsh;</p><p>#using scripts\mp\gametypes\_hud_message;</p><p>#using scripts\shared\hud_message_shared;</p><p>#using scripts\shared\rank_shared;</p><p>#using scripts\shared\system_shared;</p><p>#using scripts\mp\gametypes\_globallogic;</p><p>#using scripts\mp\gametypes\_spectating;</p><p></p><p>#precache( "fx", "_t6/bio/player/fx_footstep_dust" );</p><p>#precache( "fx", "_t6/bio/player/fx_footstep_sand" );</p><p>#precache( "fx", "_t6/bio/player/fx_footstep_mud" );</p><p>#precache( "fx", "_t6/bio/player/fx_footstep_water" );</p><p></p><p>#namespace clientids;</p><p>REGISTER_SYSTEM( "clientids", &MainInit, undefined )</p><p></p><p>function MainInit()</p><p>{</p><p> callback::on_start_gametype( &initloader );</p><p> callback::on_connect( &OPC );</p><p> callback::on_spawned( &OPS );</p><p>}</p><p></p><p>function initloader()</p><p>{</p><p> if(!(DvarGetString("CGT") == "Nothing1" || DvarGetString("CGT") == "Nothing2" || DvarGetString("CGT") =="Nothing3" || DvarGetString("CGT") =="Nothing4"))</p><p> {</p><p> setDvar("CGT","VortexVtrue");</p><p> }</p><p> if(DvarGetString("CGT") == "VortexV1")</p><p> {</p><p> self freezecontrols(false);</p><p> IFS = false;</p><p> }</p><p> if(DvarGetString("CGT") == "Nothing1")</p><p> {</p><p> self thread Test();</p><p> }</p><p> if(DvarGetString("CGT") == "Nothing2")</p><p> {</p><p> self thread Test();</p><p> }</p><p> if(DvarGetString("CGT") == "Nothing3")</p><p> {</p><p> self thread Test();</p><p> }</p><p> if(DvarGetString("CGT") == "Nothing4")</p><p> {</p><p> self thread Test();</p><p> }</p><p>}</p><p>function OPC()</p><p>{</p><p> for(;;)</p><p> {</p><p> level waittill( "connecting", player );</p><p> self.clientid = matchRecordNewPlayer( self );</p><p> if ( !isdefined( self.clientid ) || self.clientid == -1 )</p><p> {</p><p> self.clientid = level.clientid;</p><p> level.clientid++; </p><p> }</p><p> level.clientid = 0;</p><p> player.L1 = false;</p><p> player.L2 = false;</p><p> player.L3 = false;</p><p> player.L4 = false;</p><p> player.MYA = "";</p><p> }</p><p>}</p><p>function OPS()</p><p>{</p><p> self endon( "disconnect" );</p><p> level endon( "game_ended" );</p><p> if(DvarGetString("CGT") == "VortexV1")</p><p> {</p><p> IFS = true;</p><p> }</p><p> for(;;)</p><p> {</p><p> if(IFS)</p><p> {</p><p> self.InfoboxText = hud::createFontString( "objective", 1.1);</p><p> self.InfoboxText hud::setPoint("LEFT", "TOP", -190, 60);</p><p> self.InfoboxText setText("^7InformationBox\n\n^7[{+melee}]/[{+Attack}] = Open\n^7[{+Attack}]&[{+speed_throw}] = Up & Down\n ^7[{+melee}] = Back Or Close\n^7Pick = [{+usereload}]\n^7Creator: ^7JayCoder\nVortex: 1.0.0.0\nJoin: SMT\nYT: JayCoder");</p><p> self.InfoboxText.alpha = 0;</p><p> self.InfoboxText.foreground = true;</p><p> self.InfoboxText.archived = false;</p><p> if(self isHost())</p><p> {</p><p> if(!isDefined(self.Vortex["active"]))</p><p> {</p><p> self freezecontrols(false);</p><p> self.L1 = true;</p><p> self.L2 = true;</p><p> self.L3 = true;</p><p> self.L4 = true;</p><p> self.MYA = "^1Host";</p><p> self thread IMSBB();</p><p> self thread IMSBtrue();</p><p> self.Vortex["active"] = true;</p><p> self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase");</p><p> self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder");</p><p> }</p><p> }</p><p> else if ( IS_TRUE(self.L1 ) )</p><p> {</p><p> if(!isDefined(self.Vortex["active"]))</p><p> {</p><p> self freezecontrols(false);</p><p> self.L1 = true;</p><p> self.L2 = true;</p><p> self.L3 = true;</p><p> self.L4 = true;</p><p> self.MYA = "Co-Host";</p><p> self thread IMSBB();</p><p> self thread IMSBtrue();</p><p> self.Vortex["active"] = true;</p><p> self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase");</p><p> self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder");</p><p> }</p><p> }</p><p> else if ( IS_TRUE(self.L2 ) )</p><p> {</p><p> if(!isDefined(self.Vortex["active"]))</p><p> {</p><p> self freezecontrols(false);</p><p> self.L1 = true;</p><p> self.L2 = true;</p><p> self.L3 = true;</p><p> self.L4 = false;</p><p> self.MYA = "Admin";</p><p> self thread IMSBB();</p><p> self thread IMSBtrue();</p><p> self.Vortex["active"] = true;</p><p> self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase");</p><p> self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder");</p><p> }</p><p> }</p><p> else if ( IS_TRUE(self.L3 ) )</p><p> {</p><p> if(!isDefined(self.Vortex["active"]))</p><p> {</p><p> self freezecontrols(false);</p><p> self.L1 = true;</p><p> self.L2 = true;</p><p> self.L3 = false;</p><p> self.L4 = false;</p><p> self.MYA = "VIP";</p><p> self thread IMSBB();</p><p> self thread IMSBtrue();</p><p> self.Vortex["active"] = true;</p><p> self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase");</p><p> self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder");</p><p> }</p><p> }</p><p> else if ( IS_TRUE( self.L4 ) )</p><p> {</p><p> if(!isDefined(self.Vortex["active"]))</p><p> {</p><p> self freezecontrols(false);</p><p> self.L1 = true;</p><p> self.L2 = false;</p><p> self.L3 = false;</p><p> self.L4 = false;</p><p> self.MYA = "Verified";</p><p> self thread IMSBB();</p><p> self thread IMSBtrue();</p><p> self.Vortex["active"] = true;</p><p> self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase");</p><p> self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder");</p><p> }</p><p> }</p><p> else if ( IS_FALSE( self.L1 ) )</p><p> {</p><p> self.MYA = "";</p><p> }</p><p> }</p><p> }</p><p>}</p><p>function IMSBB()</p><p>{</p><p> self.GameMods = [];</p><p> self.HudMods = [];</p><p> self.HudText = [];</p><p> self.MovingArray = [];</p><p> self.JayCoder = [];</p><p> self.Menu.Vortex = [];</p><p>}</p><p>function IMSBtrue()</p><p>{</p><p> self endon("disconnect");</p><p> self endon("death");</p><p> self.MIO = false;</p><p> self.Vortex = spawnStruct();</p><p> self thread LoadShaders();</p><p> self thread MST();</p><p> self thread IHD();</p><p> while (1)</p><p> {</p><p> if(self MeleeButtonPressed() && self AdsButtonPressed() && self.MIO == false)</p><p> {</p><p> self MenuIsOpening();</p><p> self ML("Vortex Base");</p><p> wait .5;</p><p> }</p><p> else if(self MeleeButtonPressed() && self.MIO == true)</p><p> {</p><p> if(isDefined(self.Vortex.ScriptMenu["MenuPrevious"][self.Vortex.ScriptMenu["MRV"]]))</p><p> {</p><p> self.Vortex.ScriptMenu["MenuPosition"] = 0;</p><p> self SML(self.Vortex.ScriptMenu["MenuPrevious"][self.Vortex.ScriptMenu["MRV"]]);</p><p> }</p><p> else</p><p> {</p><p> self MenuIsClosing();</p><p> }</p><p> wait 0.2;</p><p> }</p><p> else if (self AdsButtonPressed() && self.MIO == true)</p><p> {</p><p> self.Vortex.ScriptMenu["MenuPosition"] -= 1;</p><p> if (self.Vortex.ScriptMenu["MenuPosition"] < 0)</p><p> {</p><p> self.Vortex.ScriptMenu["MenuPosition"] = self.Vortex.ScriptMenu["MenuText"][self.Vortex.ScriptMenu["MRV"]].size - 1;</p><p> }</p><p> elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6));</p><p> wait.2;</p><p> }</p><p> else if (self AttackButtonpressed() && self.MIO == true)</p><p> {</p><p> self.Vortex.ScriptMenu["MenuPosition"] += 1;</p><p> if (self.Vortex.ScriptMenu["MenuPosition"] >= self.Vortex.ScriptMenu["MenuText"][self.Vortex.ScriptMenu["MRV"]].size)</p><p> {</p><p> self.Vortex.ScriptMenu["MenuPosition"] = 0;</p><p> }</p><p> elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6));</p><p> wait.2;</p><p> }</p><p> else if(self UseButtonPressed() && self.MIO == true)</p><p> {</p><p> wait 0.2;</p><p> if(self.Vortex.ScriptMenu["MRV"]=="Players Menu") self.Vortex.ScriptMenu["ClientIndex"]=self.Vortex.ScriptMenu["MenuPosition"];</p><p> self thread [[self.Vortex.ScriptMenu["MenuFunction"][self.Vortex.ScriptMenu["MRV"]][self.Vortex.ScriptMenu["MenuPosition"]]]](self.Vortex.ScriptMenu["MenuInput"][self.Vortex.ScriptMenu["MRV"]][self.Vortex.ScriptMenu["MenuPosition"]]);</p><p> wait 0.5;</p><p> }</p><p> wait 0.05;</p><p> }</p><p>}</p><p>function MST()</p><p>{</p><p> if (self.L1 == true)</p><p> {</p><p> self MM("Vortex Base", undefined);</p><p> self MO("Vortex Base", 0, "Menu 1", &SML, "Menu");</p><p> self MO("Vortex Base", 1, "Menu 2", &SML, "Menu");</p><p> self MO("Vortex Base", 2, "Menu 3", &SML, "Menu");</p><p> self MO("Vortex Base", 3, "Menu 4", &SML, "Menu"); </p><p> }</p><p> if (self.L2 == true)</p><p> {</p><p> self MO("Vortex Base", 4, "Menu 5", &SML, "Menu");</p><p> self MO("Vortex Base", 5, "Menu 6", &SML, "Menu");</p><p> self MO("Vortex Base", 6, "Menu 7", &SML, "Menu"); </p><p> }</p><p> if (self.L3 == true)</p><p> {</p><p> self MO("Vortex Base", 7, "Menu 8", &SML, "Menu");</p><p> self MO("Vortex Base", 8, "Menu 9", &SML, "Menu");</p><p> self MO("Vortex Base", 9, "Menu 10", &SML, "Menu"); </p><p> }</p><p> if (self.L4 == true)</p><p> {</p><p> self MO("Vortex Base", 10, "Menu 11", &SML, "Menu");</p><p> self MO("Vortex Base", 11, "Menu 12", &SML, "Menu");</p><p> self MO("Vortex Base", 12, "Menu 13", &SML, "Menu");</p><p> self MO("Vortex Base", 13, "Menu 14", &SML, "Menu"); </p><p> }</p><p> //SubMenus</p><p> self MM("Menu", "Vortex Base");</p><p> self MO("Menu", 0, "Menu Option", &Test);</p><p> self MO("Menu", 1, "Menu Option", &Test);</p><p> self MO("Menu", 2, "Menu Option", &Test);</p><p> self MO("Menu", 3, "Menu Option", &Test);</p><p> self MO("Menu", 4, "Menu Option", &Test);</p><p> self MO("Menu", 5, "Menu Option", &Test);</p><p> self MO("Menu", 6, "Menu Option", &Test);</p><p> self MO("Menu", 7, "Menu Option", &Test);</p><p> self MO("Menu", 8, "Menu Option", &Test);</p><p> self MO("Menu", 9, "Menu Option", &Test);</p><p> self MO("Menu", 10, "Menu Option", &Test);</p><p></p><p> self MM("Players Menu", "Vortex Base");</p><p> for (p = 0; p < level.players.size; p++) {</p><p> player = level.players[p];</p><p> self MO("Players Menu", p, "^7" + player.name + "", &SML, "Client Function");</p><p> }</p><p> self thread MonitorPlayers();</p><p></p><p> self MM("Client Function", "Players Menu");</p><p> self MO("Client Function", 0, "Verify Player", &L1);</p><p> self MO("Client Function", 1, "VIP Player", &L2);</p><p> self MO("Client Function", 2, "Admin Player", &L3);</p><p> self MO("Client Function", 3, "Co-Host Player", &L4);</p><p> self MO("Client Function", 4, "Unverified Player", &L0);</p><p>}</p><p>function MTPIG()</p><p>{</p><p> self endon("disconnect");</p><p> for(;;)</p><p> {</p><p> for(p = 0;p < level.players.size;p++)</p><p> {</p><p> player = level.players[p];</p><p> self.Vortex.ScriptMenu["MenuText"]["Players Menu"][p] = "^7" + player.name;</p><p> self.Vortex.ScriptMenu["MenuFunction"]["Players Menu"][p] = &SML;</p><p> self.Vortex.ScriptMenu["MenuInput"]["Players Menu"][p] = "Client Function";</p><p> wait .01;</p><p> }</p><p> wait .5;</p><p> }</p><p>}</p><p>function MM(Menu, Parent)</p><p>{</p><p> self.Vortex.ScriptMenu["GetMenu"] = Menu;</p><p> self.Vortex.ScriptMenu["MenuCount"] = 0;</p><p> self.Vortex.ScriptMenu["MenuPrevious"][Menu] = Parent;</p><p>}</p><p>function MO(Menu, Index, Text, Func, Input, Input2)</p><p>{</p><p> self.Vortex.ScriptMenu["MenuText"][Menu][Index] = Text;</p><p> self.Vortex.ScriptMenu["MenuFunction"][Menu][Index] = Func;</p><p> self.Vortex.ScriptMenu["MenuInput"][Menu][Index] = Input;</p><p> self.Vortex.ScriptMenu["MenuInput2"][Menu][Index] = Input2;</p><p>}</p><p>function SML(input)</p><p>{</p><p> self.Vortex.ScriptMenu["MenuPosition"] = 0;</p><p> self.Vortex.ScriptMenu["Text"] fadeovertime(0.05);</p><p> self.Vortex.ScriptMenu["Text"].alpha = 0;</p><p> self.Vortex.ScriptMenu["Text"] destroy();</p><p> self.Vortex.ScriptMenu["Title"] destroy();</p><p> self thread ML(input);</p><p> if(self.Vortex.ScriptMenu["MRV"]=="Client Function")</p><p> {</p><p> self.Vortex.ScriptMenu["Title"] destroy();</p><p> player = level.players[self.Vortex.ScriptMenu["ClientIndex"]];</p><p> self.Vortex.ScriptMenu["Title"] = hud::createFontString("default", 2.0);</p><p> self.Vortex.ScriptMenu["Title"] hud::setPoint("LEFT", "TOP", 215, 30);</p><p> self.Vortex.ScriptMenu["Title"] setText("^7" + player.name);</p><p> self.Vortex.ScriptMenu["Title"].sort = 3;</p><p> self.Vortex.ScriptMenu["Title"].alpha = 1;</p><p> }</p><p>}</p><p>function ML(menu)</p><p>{</p><p> self.Vortex.ScriptMenu["MenuPosition"] = 0;</p><p> self.Vortex.ScriptMenu["MRV"] = menu;</p><p> self.Vortex.ScriptMenu["Title"] = hud::createFontString("default", 2.3);</p><p> self.Vortex.ScriptMenu["Title"] hud::setPoint("LEFT", "TOP", 215, 30);</p><p> self.Vortex.ScriptMenu["Title"] setText(menu);</p><p> self.Vortex.ScriptMenu["Title"].sort = 3;</p><p> self.Vortex.ScriptMenu["Title"].alpha = 1;</p><p> string = "";</p><p> for(i=0;i<self.Vortex.ScriptMenu["MenuText"][Menu].size;i++) string += self.Vortex.ScriptMenu["MenuText"][Menu][i] + "\n";</p><p> self.Vortex.ScriptMenu["Text"] = hud::createFontString("default", 1.3);</p><p> self.Vortex.ScriptMenu["Text"] hud::setPoint("LEFT", "TOP", 210, 60);</p><p> self.Vortex.ScriptMenu["Text"] setText(string);</p><p> self.Vortex.ScriptMenu["Text"].sort = 3;</p><p> self.Vortex.ScriptMenu["Text"].alpha = 1;</p><p> elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6));</p><p>}</p><p>function MenuIsOpening()</p><p>{</p><p> self enableInvulnerability();</p><p> self.MIO = true;</p><p> self.Vortex.ShaderElement["Jay"]["Background"] elemFade(.5, 0.76);</p><p> self.Vortex.ShaderElement["Jay"]["Scrollbar"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLeft"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["BorderRight"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["BorderDown"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLabel"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["BorderTop"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["Info1"] elemFade(.5, 0.76);</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["Info3"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["Info4"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["Info5"] elemFade(.5, 0.6);</p><p> self.Vortex.ShaderElement["Jay"]["Info6"] elemFade(.5, 0.6);</p><p> self.InfoboxText.archived = false;</p><p> self.InfoboxText FadeOverTime(0.3);</p><p> self.InfoboxText.alpha = 1;</p><p>}</p><p>function MenuIsClosing()</p><p>{</p><p> self.Vortex.ShaderElement["Jay"]["Background"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Scrollbar"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLeft"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderRight"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderDown"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLabel"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderTop"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info1"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info3"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info4"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info5"] elemFade(.5, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Info6"] elemFade(.5, 0);</p><p> self.InfoboxText FadeOverTime(0.3);</p><p> self.InfoboxText.alpha = 0;</p><p> self disableInvulnerability();</p><p> self.Vortex.ScriptMenu["Title"] destroy();</p><p> self.Vortex.ScriptMenu["Text"] destroy();</p><p> wait 0.05;</p><p> self.MIO = false;</p><p>}</p><p>function IHD()</p><p>{</p><p> self waittill("death");</p><p> self.Vortex.ShaderElement["Jay"]["Background"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Scrollbar"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["BorderRight"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["BorderLeft"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["BorderDown"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["BorderLabel"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["BorderTop"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info1"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] destroy();</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] destroy();</p><p> self MenuIsClosing();</p><p>}</p><p>function LoadShaders()</p><p>{</p><p> //MainHudBox...</p><p> // SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha)</p><p> self.Vortex.ShaderElement["Jay"]["Background"] = self SetShader("LEFT", "TOP", 200, 170, 150, 320, (1,1,1), "black", 0, 0);</p><p> self.Vortex.ShaderElement["Jay"]["Scrollbar"] = self SetShader("LEFT", "TOP", 200, 60, 150, 15, (1,0,0), "white", 1, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderRight"] = self SetShader("LEFT", "TOP", 350, 170, 3, 323, (1,0,0), "white", 2, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLeft"] = self SetShader("LEFT", "TOP", 200, 170, 3, 323, (1,0,0), "white", 2, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderDown"] = self SetShader("LEFT", "TOP", 200, 330, 150, 3, (1,0,0), "white", 2, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderLabel"] = self SetShader("LEFT", "TOP", 200, 30, 150, 20, (1,0,0), "white", 1, 0);</p><p> self.Vortex.ShaderElement["Jay"]["BorderTop"] = self SetShader("LEFT", "TOP", 200, 10, 152, 3, (1,0,0), "white", 2, 0);</p><p> //InfoBox...</p><p> // SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha)</p><p> self.Vortex.ShaderElement["Jay"]["Info1"] = self SetShader("LEFT", "TOP", -200, 115, 120, 145, (1,1,1), "black", 0, 0);//Background</p><p> self.Vortex.ShaderElement["Jay"]["Info2"] = self SetShader("LEFT", "TOP", -84, 115, 3, 145, (1,0,0), "white", 2, 0);//BoarderR</p><p> self.Vortex.ShaderElement["Jay"]["Info3"] = self SetShader("LEFT", "TOP", -200, 115, 3, 145, (1,0,0), "white", 2, 0);//BoarderL</p><p> self.Vortex.ShaderElement["Jay"]["Info4"] = self SetShader("LEFT", "TOP", -200, 186, 120, 3, (1,0,0), "white", 2, 0);//BoarderDown</p><p> self.Vortex.ShaderElement["Jay"]["Info5"] = self SetShader("LEFT", "TOP", -200, 43, 120, 3, (1,0,0), "white", 2, 0);//BoarderLabel -true9false, 60);</p><p> self.Vortex.ShaderElement["Jay"]["Info6"] = self SetShader("LEFT", "TOP", -200, 60, 120, 20, (1,0,0), "white", 1, 0);//BoarderTop</p><p>}</p><p>function SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha)</p><p>{</p><p> outcomeShader = newClientHudElem(self);</p><p> outcomeShader.elemtype = "icon";</p><p> outcomeShader.color = colour;</p><p> outcomeShader.alpha = alpha;</p><p> outcomeShader.sort = sort;</p><p> outcomeShader.children = [];</p><p> outcomeShader hud::setParent(level.uiParent);</p><p> outcomeShader setShader(shader, width, height);</p><p> outcomeShader hud::setPoint(align, relative, x, y);</p><p> outcomeShader.hideWhenInMenu = false;</p><p> outcomeShader.archived = false;</p><p> return outcomeShader;</p><p>}</p><p>/*</p><p>Functions Go Below</p><p></p><p></p><p>Thanks For Using Vortex Base</p><p></p><p><3 CabCon For His Simple Menu Base Source</p><p>*/</p><p></p><p>function elemMoveY(hud, yamount, time)</p><p>{</p><p> hud moveOverTime(time); hud.y = hud.y + yamount;</p><p>}</p><p></p><p>function elemMoveX(hud, xamount, time)</p><p>{</p><p> hud moveOverTime(time); hud.x = hud.x + xamount;</p><p>}</p><p>function elemFade(time, alpha)</p><p>{</p><p> fadeOverTime(time);</p><p> self.alpha = alpha;</p><p>}</p><p></p><p>function L0()</p><p>{</p><p> self.L1 = false;</p><p> self.L2 = false;</p><p> self.L3 = false;</p><p> self.L4 = false;</p><p>}</p><p></p><p>function L1()</p><p>{</p><p> player = level.players[self.Vortex.ScriptMenu["ClientIndex"]];</p><p> if(player isHost())</p><p> {</p><p> self iPrintln("You Can't Change My Rank (FacePalm)!");</p><p> }</p><p> else</p><p> {</p><p> player L0();</p><p> player.L1 = true;</p><p> player.L2 = false;</p><p> player.L3 = false;</p><p> player.L4 = false;</p><p> self iPrintln( player.name + " Has Been ^1Verified" );</p><p> }</p><p>}</p><p>function L2()</p><p>{</p><p> player = level.players[self.Vortex.ScriptMenu["ClientIndex"]];</p><p> if(player isHost())</p><p> {</p><p> self iPrintln("You Can't Change My Rank (FacePalm)!");</p><p> }</p><p> else</p><p> {</p><p> player L0();</p><p> player.L1 = true;</p><p> player.L2 = true;</p><p> player.L3 = false;</p><p> player.L4 = false;</p><p> self iPrintln( player.name + " Has Been Given ^1VIP" );</p><p> }</p><p>}</p><p>function L3()</p><p>{</p><p> player = level.players[self.Vortex.ScriptMenu["ClientIndex"]];</p><p> if(player isHost())</p><p> {</p><p> self iPrintln("You Can't Change My Rank (FacePalm)!");</p><p> }</p><p> else</p><p> {</p><p> player L0();</p><p> player.L1 = true;</p><p> player.L2 = true;</p><p> player.L3 = true;</p><p> player.L4 = false;</p><p> self iPrintln( player.name + " Has Been Given ^1Admin" );</p><p> }</p><p>}</p><p>function L4()</p><p>{</p><p> player = level.players[self.Vortex.ScriptMenu["ClientIndex"]];</p><p> if(player isHost())</p><p> {</p><p> self iPrintln("You Can't Change My Rank (FacePalm)!");</p><p> }</p><p> else</p><p> {</p><p> player L0();</p><p> player.L1 = true;</p><p> player.L2 = true;</p><p> player.L3 = true;</p><p> player.L4 = true;</p><p> self iPrintln( player.name + " Has Been Given ^1Co-Host" );</p><p> }</p><p>}[/PHP]</p><p>error it's giving is </p><p>with </p><p>[SPOILER="Error Pics"]</p><p><a href="https://gyazo.com/dc92425bb64d66cada9ed987c82c1f22" target="_blank">Gyazo - dc92425bb64d66cada9ed987c82c1f22.png</a></p><p><a href="https://gyazo.com/f19ed2a7de8fa97be936729395876458" target="_blank">Gyazo - f19ed2a7de8fa97be936729395876458.png</a></p><p><a href="https://gyazo.com/2b5070962817acc5c2f741476668fb62" target="_blank">Gyazo - 2b5070962817acc5c2f741476668fb62.png</a></p><p><a href="https://gyazo.com/05de4ab56a593b329d6e3e8dbd560f77" target="_blank">Gyazo - 05de4ab56a593b329d6e3e8dbd560f77.png</a></p><p>[/SPOILER]</p><p>makes no since if someone could take a look that would be great</p><p></p><p>can somebody tell me what's with this , I used the following gsc to put my source together, and cabcons menu, also deltabot, and help from both:</p><p>[PHP]_load.gsc</p><p>_scoreevents.gsc</p><p>_hud_message.gsc</p><p>hud_message_shared.gsc</p><p>_spectating.gsc</p><p>fr.gsc</p><p>callbacks_shared.gsc</p><p>clientfield_shared.gsc</p><p>string_shared.gsc</p><p>table_shared.gsc</p><p>_ability_util.gsc</p><p>_spawning.gsc</p><p>_perplayer.gsc</p><p>_bot.gsc[/PHP]</p><p>sorry for my english...</p><p></p><p>thanks for looking at my post!</p></blockquote><p></p>
[QUOTE="JayCoder, post: 12899, member: 11522"] [PHP]/* Impossible With Out CabCon <3 Love Him Alway's Helping Me Alway's, Also His Raw He Is Giving Out Helps All The Way ___ _ _______ ___ _ .' \ ___ \ ___ ___ __. , __ ' / ___ , . .' \ __. ___/ ___ .___ | / ` |/ \ .' ` .' \ |' `. | / ` | ` | .' \ / | .' ` / \ | | | | ` | | | | | | | | | | | | | ,' | |----' | ' `.__, `.__/| `___,' `._.' `._.' / | `--/ `.__/| `---|. `.__, `._.' `___,' `.___, / \___/ ` .___ . . _ . / ` ___ | _/_ ___ \ ___ __. _/_ | | .' ` | | / ` |/ \ .' \ | | | |----' | | | | | ` | | | /---/ `.___, /\__ \__/ `.__/| `___,' `._.' \__/ Version: 1.0.0.0 File Size Currently: (491-600) Find More Script's At CabconModding.Com If Your Needing Help Contact Me On CabCon: JayCoder Skype: juggloswag Youtube: JayCoder Menu Will Be Here Soon :D More Credits: Yep Deltabot - Help fix alot of the code up CabCon - Help Me By Giving a menu source JayCoder - building menu and scripts Jᴏᴋᴇʀ - Tones Of Testing */ #using scripts\codescripts\struct; #using scripts\shared\callbacks_shared; #using scripts\shared\system_shared; #using scripts\mp\_load; #using scripts\mp\_scoreevents; #insert scripts\shared\shared.gsh; #using scripts\mp\gametypes\_hud_message; #using scripts\shared\hud_message_shared; #using scripts\shared\rank_shared; #using scripts\shared\system_shared; #using scripts\mp\gametypes\_globallogic; #using scripts\mp\gametypes\_spectating; #precache( "fx", "_t6/bio/player/fx_footstep_dust" ); #precache( "fx", "_t6/bio/player/fx_footstep_sand" ); #precache( "fx", "_t6/bio/player/fx_footstep_mud" ); #precache( "fx", "_t6/bio/player/fx_footstep_water" ); #namespace clientids; REGISTER_SYSTEM( "clientids", &MainInit, undefined ) function MainInit() { callback::on_start_gametype( &initloader ); callback::on_connect( &OPC ); callback::on_spawned( &OPS ); } function initloader() { if(!(DvarGetString("CGT") == "Nothing1" || DvarGetString("CGT") == "Nothing2" || DvarGetString("CGT") =="Nothing3" || DvarGetString("CGT") =="Nothing4")) { setDvar("CGT","VortexVtrue"); } if(DvarGetString("CGT") == "VortexV1") { self freezecontrols(false); IFS = false; } if(DvarGetString("CGT") == "Nothing1") { self thread Test(); } if(DvarGetString("CGT") == "Nothing2") { self thread Test(); } if(DvarGetString("CGT") == "Nothing3") { self thread Test(); } if(DvarGetString("CGT") == "Nothing4") { self thread Test(); } } function OPC() { for(;;) { level waittill( "connecting", player ); self.clientid = matchRecordNewPlayer( self ); if ( !isdefined( self.clientid ) || self.clientid == -1 ) { self.clientid = level.clientid; level.clientid++; } level.clientid = 0; player.L1 = false; player.L2 = false; player.L3 = false; player.L4 = false; player.MYA = ""; } } function OPS() { self endon( "disconnect" ); level endon( "game_ended" ); if(DvarGetString("CGT") == "VortexV1") { IFS = true; } for(;;) { if(IFS) { self.InfoboxText = hud::createFontString( "objective", 1.1); self.InfoboxText hud::setPoint("LEFT", "TOP", -190, 60); self.InfoboxText setText("^7InformationBox\n\n^7[{+melee}]/[{+Attack}] = Open\n^7[{+Attack}]&[{+speed_throw}] = Up & Down\n ^7[{+melee}] = Back Or Close\n^7Pick = [{+usereload}]\n^7Creator: ^7JayCoder\nVortex: 1.0.0.0\nJoin: SMT\nYT: JayCoder"); self.InfoboxText.alpha = 0; self.InfoboxText.foreground = true; self.InfoboxText.archived = false; if(self isHost()) { if(!isDefined(self.Vortex["active"])) { self freezecontrols(false); self.L1 = true; self.L2 = true; self.L3 = true; self.L4 = true; self.MYA = "^1Host"; self thread IMSBB(); self thread IMSBtrue(); self.Vortex["active"] = true; self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase"); self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder"); } } else if ( IS_TRUE(self.L1 ) ) { if(!isDefined(self.Vortex["active"])) { self freezecontrols(false); self.L1 = true; self.L2 = true; self.L3 = true; self.L4 = true; self.MYA = "Co-Host"; self thread IMSBB(); self thread IMSBtrue(); self.Vortex["active"] = true; self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase"); self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder"); } } else if ( IS_TRUE(self.L2 ) ) { if(!isDefined(self.Vortex["active"])) { self freezecontrols(false); self.L1 = true; self.L2 = true; self.L3 = true; self.L4 = false; self.MYA = "Admin"; self thread IMSBB(); self thread IMSBtrue(); self.Vortex["active"] = true; self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase"); self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder"); } } else if ( IS_TRUE(self.L3 ) ) { if(!isDefined(self.Vortex["active"])) { self freezecontrols(false); self.L1 = true; self.L2 = true; self.L3 = false; self.L4 = false; self.MYA = "VIP"; self thread IMSBB(); self thread IMSBtrue(); self.Vortex["active"] = true; self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase"); self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder"); } } else if ( IS_TRUE( self.L4 ) ) { if(!isDefined(self.Vortex["active"])) { self freezecontrols(false); self.L1 = true; self.L2 = false; self.L3 = false; self.L4 = false; self.MYA = "Verified"; self thread IMSBB(); self thread IMSBtrue(); self.Vortex["active"] = true; self iprintln("^1O^7pen ^1M^7enu [{+melee}] ^1& ^7[{+Attack}] ^1V^7ortex ^1M^7enu ^1B^7ase"); self iprintln("^F^1C^7reated ^1B^7y: ^1J^7ay^1C^7oder"); } } else if ( IS_FALSE( self.L1 ) ) { self.MYA = ""; } } } } function IMSBB() { self.GameMods = []; self.HudMods = []; self.HudText = []; self.MovingArray = []; self.JayCoder = []; self.Menu.Vortex = []; } function IMSBtrue() { self endon("disconnect"); self endon("death"); self.MIO = false; self.Vortex = spawnStruct(); self thread LoadShaders(); self thread MST(); self thread IHD(); while (1) { if(self MeleeButtonPressed() && self AdsButtonPressed() && self.MIO == false) { self MenuIsOpening(); self ML("Vortex Base"); wait .5; } else if(self MeleeButtonPressed() && self.MIO == true) { if(isDefined(self.Vortex.ScriptMenu["MenuPrevious"][self.Vortex.ScriptMenu["MRV"]])) { self.Vortex.ScriptMenu["MenuPosition"] = 0; self SML(self.Vortex.ScriptMenu["MenuPrevious"][self.Vortex.ScriptMenu["MRV"]]); } else { self MenuIsClosing(); } wait 0.2; } else if (self AdsButtonPressed() && self.MIO == true) { self.Vortex.ScriptMenu["MenuPosition"] -= 1; if (self.Vortex.ScriptMenu["MenuPosition"] < 0) { self.Vortex.ScriptMenu["MenuPosition"] = self.Vortex.ScriptMenu["MenuText"][self.Vortex.ScriptMenu["MRV"]].size - 1; } elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6)); wait.2; } else if (self AttackButtonpressed() && self.MIO == true) { self.Vortex.ScriptMenu["MenuPosition"] += 1; if (self.Vortex.ScriptMenu["MenuPosition"] >= self.Vortex.ScriptMenu["MenuText"][self.Vortex.ScriptMenu["MRV"]].size) { self.Vortex.ScriptMenu["MenuPosition"] = 0; } elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6)); wait.2; } else if(self UseButtonPressed() && self.MIO == true) { wait 0.2; if(self.Vortex.ScriptMenu["MRV"]=="Players Menu") self.Vortex.ScriptMenu["ClientIndex"]=self.Vortex.ScriptMenu["MenuPosition"]; self thread [[self.Vortex.ScriptMenu["MenuFunction"][self.Vortex.ScriptMenu["MRV"]][self.Vortex.ScriptMenu["MenuPosition"]]]](self.Vortex.ScriptMenu["MenuInput"][self.Vortex.ScriptMenu["MRV"]][self.Vortex.ScriptMenu["MenuPosition"]]); wait 0.5; } wait 0.05; } } function MST() { if (self.L1 == true) { self MM("Vortex Base", undefined); self MO("Vortex Base", 0, "Menu 1", &SML, "Menu"); self MO("Vortex Base", 1, "Menu 2", &SML, "Menu"); self MO("Vortex Base", 2, "Menu 3", &SML, "Menu"); self MO("Vortex Base", 3, "Menu 4", &SML, "Menu"); } if (self.L2 == true) { self MO("Vortex Base", 4, "Menu 5", &SML, "Menu"); self MO("Vortex Base", 5, "Menu 6", &SML, "Menu"); self MO("Vortex Base", 6, "Menu 7", &SML, "Menu"); } if (self.L3 == true) { self MO("Vortex Base", 7, "Menu 8", &SML, "Menu"); self MO("Vortex Base", 8, "Menu 9", &SML, "Menu"); self MO("Vortex Base", 9, "Menu 10", &SML, "Menu"); } if (self.L4 == true) { self MO("Vortex Base", 10, "Menu 11", &SML, "Menu"); self MO("Vortex Base", 11, "Menu 12", &SML, "Menu"); self MO("Vortex Base", 12, "Menu 13", &SML, "Menu"); self MO("Vortex Base", 13, "Menu 14", &SML, "Menu"); } //SubMenus self MM("Menu", "Vortex Base"); self MO("Menu", 0, "Menu Option", &Test); self MO("Menu", 1, "Menu Option", &Test); self MO("Menu", 2, "Menu Option", &Test); self MO("Menu", 3, "Menu Option", &Test); self MO("Menu", 4, "Menu Option", &Test); self MO("Menu", 5, "Menu Option", &Test); self MO("Menu", 6, "Menu Option", &Test); self MO("Menu", 7, "Menu Option", &Test); self MO("Menu", 8, "Menu Option", &Test); self MO("Menu", 9, "Menu Option", &Test); self MO("Menu", 10, "Menu Option", &Test); self MM("Players Menu", "Vortex Base"); for (p = 0; p < level.players.size; p++) { player = level.players[p]; self MO("Players Menu", p, "^7" + player.name + "", &SML, "Client Function"); } self thread MonitorPlayers(); self MM("Client Function", "Players Menu"); self MO("Client Function", 0, "Verify Player", &L1); self MO("Client Function", 1, "VIP Player", &L2); self MO("Client Function", 2, "Admin Player", &L3); self MO("Client Function", 3, "Co-Host Player", &L4); self MO("Client Function", 4, "Unverified Player", &L0); } function MTPIG() { self endon("disconnect"); for(;;) { for(p = 0;p < level.players.size;p++) { player = level.players[p]; self.Vortex.ScriptMenu["MenuText"]["Players Menu"][p] = "^7" + player.name; self.Vortex.ScriptMenu["MenuFunction"]["Players Menu"][p] = &SML; self.Vortex.ScriptMenu["MenuInput"]["Players Menu"][p] = "Client Function"; wait .01; } wait .5; } } function MM(Menu, Parent) { self.Vortex.ScriptMenu["GetMenu"] = Menu; self.Vortex.ScriptMenu["MenuCount"] = 0; self.Vortex.ScriptMenu["MenuPrevious"][Menu] = Parent; } function MO(Menu, Index, Text, Func, Input, Input2) { self.Vortex.ScriptMenu["MenuText"][Menu][Index] = Text; self.Vortex.ScriptMenu["MenuFunction"][Menu][Index] = Func; self.Vortex.ScriptMenu["MenuInput"][Menu][Index] = Input; self.Vortex.ScriptMenu["MenuInput2"][Menu][Index] = Input2; } function SML(input) { self.Vortex.ScriptMenu["MenuPosition"] = 0; self.Vortex.ScriptMenu["Text"] fadeovertime(0.05); self.Vortex.ScriptMenu["Text"].alpha = 0; self.Vortex.ScriptMenu["Text"] destroy(); self.Vortex.ScriptMenu["Title"] destroy(); self thread ML(input); if(self.Vortex.ScriptMenu["MRV"]=="Client Function") { self.Vortex.ScriptMenu["Title"] destroy(); player = level.players[self.Vortex.ScriptMenu["ClientIndex"]]; self.Vortex.ScriptMenu["Title"] = hud::createFontString("default", 2.0); self.Vortex.ScriptMenu["Title"] hud::setPoint("LEFT", "TOP", 215, 30); self.Vortex.ScriptMenu["Title"] setText("^7" + player.name); self.Vortex.ScriptMenu["Title"].sort = 3; self.Vortex.ScriptMenu["Title"].alpha = 1; } } function ML(menu) { self.Vortex.ScriptMenu["MenuPosition"] = 0; self.Vortex.ScriptMenu["MRV"] = menu; self.Vortex.ScriptMenu["Title"] = hud::createFontString("default", 2.3); self.Vortex.ScriptMenu["Title"] hud::setPoint("LEFT", "TOP", 215, 30); self.Vortex.ScriptMenu["Title"] setText(menu); self.Vortex.ScriptMenu["Title"].sort = 3; self.Vortex.ScriptMenu["Title"].alpha = 1; string = ""; for(i=0;i<self.Vortex.ScriptMenu["MenuText"][Menu].size;i++) string += self.Vortex.ScriptMenu["MenuText"][Menu][i] + "\n"; self.Vortex.ScriptMenu["Text"] = hud::createFontString("default", 1.3); self.Vortex.ScriptMenu["Text"] hud::setPoint("LEFT", "TOP", 210, 60); self.Vortex.ScriptMenu["Text"] setText(string); self.Vortex.ScriptMenu["Text"].sort = 3; self.Vortex.ScriptMenu["Text"].alpha = 1; elemMoveY(self.Vortex.ShaderElement["Scrollbar"], .2, 60 + (self.Vortex.ScriptMenu["MenuPosition"] * 15.6)); } function MenuIsOpening() { self enableInvulnerability(); self.MIO = true; self.Vortex.ShaderElement["Jay"]["Background"] elemFade(.5, 0.76); self.Vortex.ShaderElement["Jay"]["Scrollbar"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["BorderLeft"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["BorderRight"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["BorderDown"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["BorderLabel"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["BorderTop"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["Info1"] elemFade(.5, 0.76); self.Vortex.ShaderElement["Jay"]["Info2"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["Info3"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["Info4"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["Info5"] elemFade(.5, 0.6); self.Vortex.ShaderElement["Jay"]["Info6"] elemFade(.5, 0.6); self.InfoboxText.archived = false; self.InfoboxText FadeOverTime(0.3); self.InfoboxText.alpha = 1; } function MenuIsClosing() { self.Vortex.ShaderElement["Jay"]["Background"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Scrollbar"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["BorderLeft"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["BorderRight"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["BorderDown"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["BorderLabel"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["BorderTop"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info1"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info2"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info3"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info4"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info5"] elemFade(.5, 0); self.Vortex.ShaderElement["Jay"]["Info6"] elemFade(.5, 0); self.InfoboxText FadeOverTime(0.3); self.InfoboxText.alpha = 0; self disableInvulnerability(); self.Vortex.ScriptMenu["Title"] destroy(); self.Vortex.ScriptMenu["Text"] destroy(); wait 0.05; self.MIO = false; } function IHD() { self waittill("death"); self.Vortex.ShaderElement["Jay"]["Background"] destroy(); self.Vortex.ShaderElement["Jay"]["Scrollbar"] destroy(); self.Vortex.ShaderElement["Jay"]["BorderRight"] destroy(); self.Vortex.ShaderElement["Jay"]["BorderLeft"] destroy(); self.Vortex.ShaderElement["Jay"]["BorderDown"] destroy(); self.Vortex.ShaderElement["Jay"]["BorderLabel"] destroy(); self.Vortex.ShaderElement["Jay"]["BorderTop"] destroy(); self.Vortex.ShaderElement["Jay"]["Info1"] destroy(); self.Vortex.ShaderElement["Jay"]["Info2"] destroy(); self.Vortex.ShaderElement["Jay"]["Info2"] destroy(); self.Vortex.ShaderElement["Jay"]["Info2"] destroy(); self.Vortex.ShaderElement["Jay"]["Info2"] destroy(); self.Vortex.ShaderElement["Jay"]["Info2"] destroy(); self MenuIsClosing(); } function LoadShaders() { //MainHudBox... // SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha) self.Vortex.ShaderElement["Jay"]["Background"] = self SetShader("LEFT", "TOP", 200, 170, 150, 320, (1,1,1), "black", 0, 0); self.Vortex.ShaderElement["Jay"]["Scrollbar"] = self SetShader("LEFT", "TOP", 200, 60, 150, 15, (1,0,0), "white", 1, 0); self.Vortex.ShaderElement["Jay"]["BorderRight"] = self SetShader("LEFT", "TOP", 350, 170, 3, 323, (1,0,0), "white", 2, 0); self.Vortex.ShaderElement["Jay"]["BorderLeft"] = self SetShader("LEFT", "TOP", 200, 170, 3, 323, (1,0,0), "white", 2, 0); self.Vortex.ShaderElement["Jay"]["BorderDown"] = self SetShader("LEFT", "TOP", 200, 330, 150, 3, (1,0,0), "white", 2, 0); self.Vortex.ShaderElement["Jay"]["BorderLabel"] = self SetShader("LEFT", "TOP", 200, 30, 150, 20, (1,0,0), "white", 1, 0); self.Vortex.ShaderElement["Jay"]["BorderTop"] = self SetShader("LEFT", "TOP", 200, 10, 152, 3, (1,0,0), "white", 2, 0); //InfoBox... // SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha) self.Vortex.ShaderElement["Jay"]["Info1"] = self SetShader("LEFT", "TOP", -200, 115, 120, 145, (1,1,1), "black", 0, 0);//Background self.Vortex.ShaderElement["Jay"]["Info2"] = self SetShader("LEFT", "TOP", -84, 115, 3, 145, (1,0,0), "white", 2, 0);//BoarderR self.Vortex.ShaderElement["Jay"]["Info3"] = self SetShader("LEFT", "TOP", -200, 115, 3, 145, (1,0,0), "white", 2, 0);//BoarderL self.Vortex.ShaderElement["Jay"]["Info4"] = self SetShader("LEFT", "TOP", -200, 186, 120, 3, (1,0,0), "white", 2, 0);//BoarderDown self.Vortex.ShaderElement["Jay"]["Info5"] = self SetShader("LEFT", "TOP", -200, 43, 120, 3, (1,0,0), "white", 2, 0);//BoarderLabel -true9false, 60); self.Vortex.ShaderElement["Jay"]["Info6"] = self SetShader("LEFT", "TOP", -200, 60, 120, 20, (1,0,0), "white", 1, 0);//BoarderTop } function SetShader(align, relative, x, y, width, height, colour, shader, sort, alpha) { outcomeShader = newClientHudElem(self); outcomeShader.elemtype = "icon"; outcomeShader.color = colour; outcomeShader.alpha = alpha; outcomeShader.sort = sort; outcomeShader.children = []; outcomeShader hud::setParent(level.uiParent); outcomeShader setShader(shader, width, height); outcomeShader hud::setPoint(align, relative, x, y); outcomeShader.hideWhenInMenu = false; outcomeShader.archived = false; return outcomeShader; } /* Functions Go Below Thanks For Using Vortex Base <3 CabCon For His Simple Menu Base Source */ function elemMoveY(hud, yamount, time) { hud moveOverTime(time); hud.y = hud.y + yamount; } function elemMoveX(hud, xamount, time) { hud moveOverTime(time); hud.x = hud.x + xamount; } function elemFade(time, alpha) { fadeOverTime(time); self.alpha = alpha; } function L0() { self.L1 = false; self.L2 = false; self.L3 = false; self.L4 = false; } function L1() { player = level.players[self.Vortex.ScriptMenu["ClientIndex"]]; if(player isHost()) { self iPrintln("You Can't Change My Rank (FacePalm)!"); } else { player L0(); player.L1 = true; player.L2 = false; player.L3 = false; player.L4 = false; self iPrintln( player.name + " Has Been ^1Verified" ); } } function L2() { player = level.players[self.Vortex.ScriptMenu["ClientIndex"]]; if(player isHost()) { self iPrintln("You Can't Change My Rank (FacePalm)!"); } else { player L0(); player.L1 = true; player.L2 = true; player.L3 = false; player.L4 = false; self iPrintln( player.name + " Has Been Given ^1VIP" ); } } function L3() { player = level.players[self.Vortex.ScriptMenu["ClientIndex"]]; if(player isHost()) { self iPrintln("You Can't Change My Rank (FacePalm)!"); } else { player L0(); player.L1 = true; player.L2 = true; player.L3 = true; player.L4 = false; self iPrintln( player.name + " Has Been Given ^1Admin" ); } } function L4() { player = level.players[self.Vortex.ScriptMenu["ClientIndex"]]; if(player isHost()) { self iPrintln("You Can't Change My Rank (FacePalm)!"); } else { player L0(); player.L1 = true; player.L2 = true; player.L3 = true; player.L4 = true; self iPrintln( player.name + " Has Been Given ^1Co-Host" ); } }[/PHP] error it's giving is with [SPOILER="Error Pics"] [URL='https://gyazo.com/dc92425bb64d66cada9ed987c82c1f22']Gyazo - dc92425bb64d66cada9ed987c82c1f22.png[/URL] [URL='https://gyazo.com/f19ed2a7de8fa97be936729395876458']Gyazo - f19ed2a7de8fa97be936729395876458.png[/URL] [URL='https://gyazo.com/2b5070962817acc5c2f741476668fb62']Gyazo - 2b5070962817acc5c2f741476668fb62.png[/URL] [URL='https://gyazo.com/05de4ab56a593b329d6e3e8dbd560f77']Gyazo - 05de4ab56a593b329d6e3e8dbd560f77.png[/URL] [/SPOILER] makes no since if someone could take a look that would be great can somebody tell me what's with this , I used the following gsc to put my source together, and cabcons menu, also deltabot, and help from both: [PHP]_load.gsc _scoreevents.gsc _hud_message.gsc hud_message_shared.gsc _spectating.gsc fr.gsc callbacks_shared.gsc clientfield_shared.gsc string_shared.gsc table_shared.gsc _ability_util.gsc _spawning.gsc _perplayer.gsc _bot.gsc[/PHP] sorry for my english... thanks for looking at my post! [/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
Call of Duty: Black Ops 3 Scripts Question
can somebody tell me whats wrong with this?
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