insurgency-sourcemod icon indicating copy to clipboard operation
insurgency-sourcemod copied to clipboard

Ins_GetWeaponGetMaxClip1 returns garbage value

Open Battleroid opened this issue 10 years ago • 2 comments

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.

insurgency_2015-10-30_16-38-19

Battleroid avatar Oct 30 '15 20:10 Battleroid

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.

jaredballou avatar Jan 18 '16 18:01 jaredballou

Alrighty.

Battleroid avatar Jan 18 '16 21:01 Battleroid