Quote:
Originally Posted by joaquimandrade
You shouldn't hook PrimaryAttack unless the offset value get reset after attacking.
Probably hook Ham_Item_Deploy or Ham_Item_AddToPlayer would be the best way.
Edit:
Or Ham_Spawn (of the weapon)
|
well, doesn't it ? I think offsets 46 and 47 sets the next attack delay... if I set it only once the next attacks will be normal, I tested this for offfset 47 in the "block attack2" topic, after I fired the weapon, the 47 offset will get reset
Quote:
Originally Posted by hleV
Shouldn't it be registered as pre and not post primary attack?
|
why ? I am not modifying the attack, I am modifying the NEXT attack's delay, so I just need to check when he attacks so that the next attack can be set in N seconds
__________________