• Making a console command
    0 replies, posted
So, i'm making a console command that will open my DPanel. So far I have tried this: [CODE]concommand.Add( "opencp",function( ply ) net.Start( "OpenIt" ) net.Send( v ) end )[/CODE] But that did not work. Anyone know what i'm doing wrong? Here is all my code: [CODE]util.AddNetworkString( "OpenIt" ) hook.Add( "ShowSpare2", "StartitUP", function( v ) net.Start( "OpenIt" ) net.Send( v ) end )[/CODE] Thats what I use to open the panel. -Thanks [editline]19th October 2014[/editline] Nevermind I found out literally 5 secs after posting this.
Sorry, you need to Log In to post a reply to this thread.