• Lua coding. Help me!
    6 replies, posted
Hello, i want some help with lua coding.. How can i make a menu in F1 .. Just send me a link to video or something, then i will be so happy :)
Not that thing.. and i dont even know where to write that in...
There is also a very in-depth wiki tutorial on how to use F1-F4 with usermessages
You'd have something like this: [code] function SchoolShow( ply ) ply:ConCommand( "SchoolMe" ) end hook.Add("ShowHelp", "School", SchoolShow)[/code] Then you'd make another function that is activated with the command "SchoolMe" [code] function OpenHelp(ply) stuff here end concommand.Add("SchoolMe", OpenHelp) [/code]
[url]http://wiki.garrysmod.com/?title=Binding_a_VGUI_to_F1-F4[/url]
Sorry, you need to Log In to post a reply to this thread.