Lord MuRaTuS Posted December 12, 2002 Posted December 12, 2002 Ok I have 2 keys on the keyboard bound to "cg_drawtimer 1" and "cg_drawtimer 0", the keys are Q and R. For showing time/unshowing it. Now I wonder how I will bind a script to one key only, for example Q, so when I press it ONCE, the timer will show, and when I press it again, it will not be showed ? How is this done? I also need same kinda script but for running/walking, if its possible. Thanks in advance
taboo Posted December 12, 2002 Posted December 12, 2002 This should toggle the timer on and off with the q key. I would think that you could use the same basic script for a crouch toggle using +movedown and -movedown. set TimerSwitch_1 "cg_drawtimer 1; set TimerSwitch vstr TimerSwitch_2" set TimerSwitch_2 "cg_drawtimer 0; set TimerSwitch vstr TimerSwitch_1" set TimerSwitch vstr TimerSwitch_1 bind q vstr TimerSwitch
Lathain Valtiel Posted December 13, 2002 Posted December 13, 2002 As for running/waling... I think you may just bind a key to toggle cl_run
Lord MuRaTuS Posted December 13, 2002 Author Posted December 13, 2002 MMXP: Thanks, but I made it working by +speed and -speed. //runtoggle set Runtoggle_1 "+speed; set Runtoggle vstr Runtoggle_2" set Runtoggle_2 "-speed; set Runtoggle vstr Runtoggle_1" set Runtoggle vstr Runtoggle_1 bind kp_enter vstr Runtoggle
Recommended Posts
Archived
This topic is now archived and is closed to further replies.