07.05.2017, 18:06
It's not going to work because it always sets the new ammo to current ammo - 1 in the variable so for example if a weapon has 100 ammo, you shoot once, the new ammo is supposed to be 100 - 1 = 99, and you set the variable to 99 + 2 = 101, but your ammo is still 100 and when you shoot again the same thing happens: 100 - 1 = 99, variable is set to 99 + 2 = 101 and it will never get detected.