01.06.2016, 17:42
Even though I usually use what SickAttack posted (a PRESSED macro), I tried it with your code:
And it was only calling once per click.
Код:
if((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK))

