+voicerecord, in console and when you wanna toggle it off -voicerecord
Been looking around for a while, closest I have come to a digital toggle is putting my phone on top of a stack of pennies on the key. I have looked for console commands, lua's, Windows macros, and a bunch of other stupid garbage. Still new to lua as well or else I would do it myself. Any comments are greatly appreciated.
+voicerecord, in console and when you wanna toggle it off -voicerecord
Just bind a key to +voicerecord and another to -voicerecord
That's probably the easiest way to do it.
Welp, My bad, Been up working for a while kinda retarded right now.
He could use a macro, That's what I do.
EDIT: Use this if you want to, whipped it up (though you could probably find a script for this anywhere)
just bind a key to voicerecord and go nutsCode:local shouldTalk = false function stickyTalk() if shouldTalk then LocalPlayer():ConCommand("+voicerecord") else LocalPlayer():ConCommand("-voicerecord") end end hook.Add("Think", "stickyTalk", stickyTalk) function toggleStickyTalk() shouldTalk = not shouldTalk end concommand.Add("voicerecord", toggleStickyTalk)
Last edited by Wasps; 06-29-2013 at 11:05 AM.
alias voiceon "+voicerecord; bind v voiceoff"
alias voiceoff "-voicerecord; bind v voiceon"
bind "v" "voiceon"
Last edited by wuat; 06-29-2013 at 12:37 PM.
D3M0L1T10N (06-29-2013)
waiting for somebody to post that
8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?
[IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]