In multiplayer the ammo might be stored on a server, and it's that ammo value that counts (even if display might be different).
If it's the same in SP, you're probably freezing the display value, and not the actual value. So you need to breakpoint the display value and nop the ammo decrease operation.