by Spike » Wed Jan 11, 2012 9:08 pm
note that impulses are unreliable and thus:
a) if you press and release your button fast enough, the mod will see only the release. This is also an issue if they use *any* other impulses at the same sort of time.
b) if a packet is dropped, its possible the mod will see only the press, and not the release.
so make sure its not too unusable if either happens.
if you are targetting DP or FTE, try using DP_VIEWZOOM:
.float viewzoom;
which won't kill the user's fov/sensitivity settings each and every single time they zoom in.
.