- Client (production/canary) and FXServer version
Irrelevant - What you expected to happen
GetWeaponTimeBetweenShots should return a float - What actually happens
GetWeaponTimeBetweenShots returns an integer - Category of bug (eg. client, server, weapons, peds, native)
Native - Reproducible steps, preferably with example script(s)
Irrelevant
GetWeaponTimeBetweenShots
natively returns a float value, but on the C# Native API it returns an integer.
My current workaround is the following:
var fireRate = BitConverter.ToSingle(BitConverter.GetBytes(GetWeaponTimeBetweenShots(weaponHash)), 0);