• Server binding F2 to console command "simple_thirdperson_enable_toggle"
    5 replies, posted
would like to have the option to switch to thirdperson in my server. My idea is that when a player presses "F2" in the server his console runs the command "simple_thirdperson_enable_toggle" i think i'm in the wrong section
[code]hook.Add( "ShowTeam", "thirdperson", function( ply ) ply:ConCommand( "simple_thirdperson_enable_toggle" ) end )[/code]
where I have to put that?
lua/autorun, I believe.
lua/autorun/server
Thanks Code_gs
Sorry, you need to Log In to post a reply to this thread.