• TTT is there a way to have a toggle voice drain that doesn't need a map restart ?
    4 replies, posted
So I know I could just make an addon that does the drain just like the default game-mode does and I could get it to work there but is there a way I could just tell the game-mode to update the settings to make it more easy ?. Thanks for any help
Look for the command that enables it, then put it into cvars.cfg or config.cfg OR autoexec.cfg
[QUOTE=Netheous;50149881]Look for the command that enables it, then put it into cvars.cfg or config.cfg OR autoexec.cfg[/QUOTE] I know how to enable it but i would like to be able to toggle it on and off without going to a new map
[QUOTE=Whud99;50151834]I know how to enable it but i would like to be able to toggle it on and off without going to a new map[/QUOTE] Idk what addon you're exactly talking about, but how about calling the hook/function that resets the drain at the end of round/when prep starts
Not sure what you mean .. but here is all links I can think would be relevant and might help you. [url]http://ttt.badking.net/config-and-commands/convars[/url] ttt_voice_drain (def. 0): ttt_voice_drain_normal (def. 0.2): ttt_voice_drain_admin (def. 0.05): ttt_voice_drain_recharge (def. 0.05): [url=https://github.com/garrynewman/garrysmod/blob/451b4ff5d1aea7b9b06a8024ef706c248a79647e/garrysmod/gamemodes/terrortown/gamemode/cl_voice.lua]Source code[/url]
Sorry, you need to Log In to post a reply to this thread.