You should make sure that your code compatible with the latest FMU.
All vector natives had already been moved to the core, so fm_velocity_by_aim are not in the FMU anymore.
You should pass sizeof array - 1 instead of sizeof(array) - remember about zero terminator.
Don't hardcode view offset, it's a non-constant value, you have to retrieve it from the view_ofs pev.
Your bullet fire detection method isn't accurate. Bullet hit spot and aim spot are different, i don't think i should say why. I recommend you to hook the TraceLine and filter out the fire trace. So it will also allow to create a multiple fake shells for the shotgun/burst fire.
Last edited by VEN; 12-30-2006 at 07:41.
Reason: minor typo