I've been coding this weapon for HL, the boomstick. It is based off of the shotgun's .cpp file (though I have already defined all new things such as the class name, weight, ammo, etc).
It only has the primary fire mode, so I just chopped out the secondary fire information and disabled secondary fire.
However, now I'm close to compiling hl.dll but have error C2065: 'm_flNextReload' : undeclared identifier going. This is in the shotgun's coding, for reloading (yay, that rhymes). Yet it does not work properly here. I heard that these events are weapon-specific, and I would need to redefine them for usage in other weapons.
How would I go about doing that? Help would be appreciated.