insurgency-sourcemod
insurgency-sourcemod copied to clipboard
Ins_GetWeaponGetMaxClip1 returns garbage value
Hello.
I've been trying to get the maximum ammunition count for the current weapon's magazine using Ins_GetWeaponGetMaxClip1, however it seems to spit out a garbage value of -203142970. This value comes up regardless of the weapon used.
I've also tried using your Ammo Check plugin (both from source and the provided compiled version) to verify and it returns the garbage value every time.

This is due to the offsets and signatures changing with each release of the game. I need to address this, as it's still not working.
Alrighty.