Hello everyone. I’m trying to create an addon that emulates ABH movement technique known from Half-Life 2 and Portal. In HL2, when I bind +jump to my mouse wheel, player jumps everytime i scroll it, but when I’m doing it in GMod, player sometimes will jump, sometimes not. Here’s the video (pay attention to the mouse overlay, first jump failed) : https://gfycat.com/AchingPowerlessCow
How can I fix this?