Print("lua_openscript_cl a")Ĭoncommand.Add("Ingameconsolecommand", TheFunction)
That's how I see this working so far, or have I got the complete wrong idea? I want to add that to Visual Basic somehow.įunction TheFunction(client, command, arguments) So when I click the CheckBox, it will send the console command to hl2.exe and therefore executing the script.
I understand exactly what the code means, but I want to put it in Visual Basic. Ok, I've made a pretty nice looking template in Visual Basic 2010. Will this work? Its nowhere near complete btw. RunConsoleCommand("sv_password", "toyboat")Ĭategor圜ontentSeven.DoRightClick = function()ĬategoryList:AddItem( Categor圜ontentSeven ) Local Categor圜ontentSeven = vgui.Create( "DSysButton" )Ĭategor圜ontentSeven.DoClick = function() Local Categor圜ontentFive = vgui.Create( "DCheckBoxLabel" )Ĭategor圜ontentFive:SetText( "All Talk" )Ĭategor圜ontentFive:SetConVar( "sv_alltalk" )ĬategoryList:AddItem( Categor圜ontentFive ) Local Categor圜ontentFour = vgui.Create( "DCheckBoxLabel" )Ĭategor圜ontentFour:SetConVar( "sbox_noclip" )ĬategoryList:AddItem( Categor圜ontentFour ) Local Categor圜ontentThree = vgui.Create( "DCheckBoxLabel" )Ĭategor圜ontentThree:SetText( "Fall Damage" )Ĭategor圜ontentThree:SetConVar( "mp_falldamage" )ĬategoryList:AddItem( Categor圜ontentThree ) Local Categor圜ontentTwo = vgui.Create( "DCheckBoxLabel" )Ĭategor圜ontentTwo:SetText( "Player Damage" )Ĭategor圜ontentTwo:SetConVar( "sbox_plpldamage" )ĬategoryList:AddItem( Categor圜ontentTwo ) Local Categor圜ontentOne = vgui.Create( "DCheckBoxLabel" )Ĭategor圜ontentOne:SetConVar( "sbox_godmode" )ĬategoryList:AddItem( Categor圜ontentOne ) SomeCollapsibleCategory:SetContents( CategoryList ) SomeCollapsibleCategory:SetLabel( "Our Collapsible Category" )ĬategoryList = vgui.Create( "DPanelList" )ĬategoryList:EnableVerticalScrollbar( true ) SomeCollapsibleCategory:SetSize( 200, 50 ) Local SomeCollapsibleCategory = vgui.Create("DCollapsibleCategory", DermaPanel)
Local DermaPanel = vgui.Create( "DFrame" )ĭermaPanel:SetTitle( "ProtoH4X - Garry's Mod Hack" ) I want to add something like that on each line if it works, so that if i click on "Aimbot" for example, it will type in the console the command to execute that script. LUA? Down the bottom I found " RunConsoleCommand("sv_password", "toyboat") ". Also, what folder do i add it to, and do i make it a.
So far ive got this, but I don't know how to make each part of the menu run a script etc.
If you are having any issues, shoot us an email, Contact MPGH Support.
Ads are removed, almost completely ad free browsing.Let your voice be heard! You can post, reply, and share whatever is on your mind.Active marketplace for gamers and people like you, with thousands of contributors and over half a million posts.Interact with our great community, and make new friends with our members.Free access to tutorials, resources, information, tools, trainers, cheats and hacks.Access to our large gaming community with millions of discussions to participate in.
REGISTER now for full benefits of our site, it's completely FREE to join: With several hundred thousand FREE hacks, cheats and bots, over 4 million members strong, a free and open marketplace and a great community, what else is there to ask for? Hacks & Cheats, Call of Duty Hacks & Cheats, Gunz Hacks & Cheats, Quake LIVE Hacks & Cheats, WolfTeam Hacks & Cheats, America's Army Hacks & Cheats, Battlefield 2/2142 Hacks & Cheats, Battlefield Heroes Hacks & Cheats, Battlefield Bad Company 2 (BC2) Hacks & Cheats, Battlefield 3 (BF3) Hacks & Cheats, Maplestory Hacks & Cheats, Diablo 3 Hacks & Cheats, Starcraft 2 Hacks & Cheats, Heroes of Newerth Hacks & Cheats, Call of Duty Hacks & Cheats, Call of Duty 4 Hacks & Cheats, Modern Warfare Hacks & Cheats, Modern Warfare 2 Hacks & Cheats, Call of Duty Modern Warfare 3 Hacks & Cheats, Project Blackout Hacks & Cheats, Runescape Hacks & Bots, Minecraft Hacks & Mods, MAT Hacks & Cheats, All Points Bulletin Hacks & Cheats, Vindictus Hacks & Cheats, Dragon Nest Hacks & Cheats, DayZ Hacks & Cheats, WarZ Hacks & Cheats, Arctic Combat Hacks & Cheats, Black OPS 2 Hacks & Cheats, BlackLight Retribution Hacks & Cheats, Bullet Run Hacks & Cheats, All Points Bulletin Hacks & Cheats, Arctic Combat Hacks & Cheats, Warframe Hacks & Cheats, Crysis 3 Hacks & Cheats, Warface Hacks & Cheats, Realm of the Mad God Hacks & Cheats, War Thunder Hacks & Cheats, Call of Duty Ghosts Hacks & Cheats, Battlefield 4 Hacks & Cheats and cheats and trainers for many other multiplayer games.