Difference between revisions of "ReleaseKey"
Jump to navigation
Jump to search
The elseif block would have never executed because timer would always equal 0
imported>Entim (revert) |
imported>DragoonWraith (The elseif block would have never executed because timer would always equal 0) |
||
Line 12: | Line 12: | ||
if ( timer == 0 ) | if ( timer == 0 ) | ||
HoldKey 18 ;E | HoldKey 18 ;E | ||
set timer to timer + ( GetSecondsPassed ) | |||
elseif ( timer < 30 ) | elseif ( timer < 30 ) | ||
set timer to ( timer + GetSecondsPassed ) | set timer to ( timer + GetSecondsPassed ) |