• Do binds reset on restart?
    6 replies, posted
If you set a bind while in a server or in singleplayer and you restart the game later will you still have the bind set?
Some of my binds do and some don't, weirdly
Either of these console commands will save bindings properly, lazy to figure out which one: [code] host_writeconfig [/code] [code] host_writeconfig autoexec [/code]
[QUOTE=mijyuoon;48444403] [code] host_writeconfig autoexec [/code][/QUOTE] Wouldn't that just re-bind everytime you start up gmod? Also this: [url]http://facepunch.com/showthread.php?t=1480777&p=48440838&viewfull=1#post48440838[/url]
[QUOTE=JasonMan34;48444456]Wouldn't that just re-bind everytime you start up gmod? Also this: [url]http://facepunch.com/showthread.php?t=1480777&p=48440838&viewfull=1#post48440838[/url][/QUOTE] Eh? When GMod starts up it needs to load key mappings from somewhere. Config files is where it loads them from.
If you really want to set a bind that saves when you load GMod, then you should put it in autoexec (common/garrysmod/garrysmod/cfg/autoexec.cfg)
[QUOTE=tyguy;48445267]If you really want to set a bind that saves when you load GMod, then you should put it in autoexec (common/garrysmod/garrysmod/cfg/autoexec.cfg)[/QUOTE] [code]host_writeconfig[/code]
Sorry, you need to Log In to post a reply to this thread.