Okay so the TotalAmmo variable holds all the ammo in the gun. For example lets say my assault rifle showed 20/80.
80 would be the TotallAmmo in the gun to use and 20 would be the current ammo that is in the mag - This is the one thats being decremented in the Decrement Ammo Function. When the player presses the left mouse button this is being decremented to 0 and stops them from firing and they would then need to reload the *weapon.
EDIT
Ive got the reload function semi working.
Just a little confused as to how to minus the reloaded amount from the total amount.