kruftwark Posted February 16, 2011 Share Posted February 16, 2011 Hello, first of all english is not my native language so sorry about the horrible grammar errors I'm about to inflict you. I'm trying to make a simple mod to crouch /sneak when I press the control key, and and stop crouching when I release the key. I've come up with that: scn HoldSneak int bIsCtrlPressed begin GameMode if bIsCtrlPressed != IsKeyPressed 29 set bIsCtrlPressed to IsKeyPressed 29 if bIsCtrlPressed Tapcontrol 08 else Tapcontrol 08 endif endif end Since I'm only poking around and testing atm, I associated it with bobby pins. To my surprise it did seem to work at first, but no. When I jump while crouching it sometimes gets stuck, or when I run, or randomly it seems. If anyone could help I'd be extremely grateful. Link to comment Share on other sites More sharing options...
Recommended Posts