Getting Weapon Reload times

Is there a function that returns the time it takes for a weapon to reload?

A link/exlpanation would be very helpful.

Thank you in advance.

I think it’d be easy to make, just a hook

Make a hook that starts OnWeaponReload, and make this hook start timer and end OnWeaponReloaded or something like that, for example make it start when ammo is 0 and stop when ammo is more than 0