• Opening Derma with F1
    2 replies, posted
Alright, so I made a little Derma panel in Garry's Mod and I want it to open up when players click the "F1" key. The only problem is, I don't know how to make it so that the DFrame opens up when I click a certain key, such as F1. I've tried it before, but I cannot get keys to work, only things like "IN_ATTACK". Can someone help me?
[url]http://wiki.garrysmod.com/page/GM/ShowHelp[/url]
[lua]hook.Add( "ShowHelp", "DermaThing", function( ply ) ply:ConCommand( "ShowCoolDermaPanel" ) end )[/lua]
Sorry, you need to Log In to post a reply to this thread.