Quote:
Originally Posted by Hunter-Digital
This should do the trick:
PHP Code:
RegisterHam(Ham_Weapon_PrimaryAttack, "weapon_p90", "fwHam_p90rof", 1) public fwHam_p90rof(ent) set_pdata_float(ent, 46, 0.05)
0.05 is the time between bullets and 46 is the primary offset, 47 is for secondary attack
|
I believe you should set 48 (m_flTimeWeaponIdle) in some cases as well. I did some tests that way long time ago, and didn't get good results. It made weapons faster suchs as shotguns, but when I tried it with rifles like AK47, it only made them slower, even I tried to set 0.0001 second.