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
__________________