Is it possible to make Ham_Weapon_SecondaryAttack working for weapons that haven't zoom or silencer?
I just put this code and it doesn't display the print
PHP Code:
RegisterHam(Ham_Weapon_SecondaryAttack, "weapon_elite", "fw_Weapon_SecondaryAttack")
public fw_Weapon_SecondaryAttack(ent)
{
client_print(0, print_chat, "Hey")
}
The other way is hook FM_CmdStart and check for IN_ATTACK2... but I prefer the previous code.
Some way to make it possible? Just a offset or something?