Cast to where your ammo variable is and then for the left number put the remainingAmmo variable and the right side the maximumAmmo variable and each time you reload set the max ammo to a number under.
Cast to where your ammo variable is and then for the left number put the remainingAmmo variable and the right side the maximumAmmo variable and each time you reload set the max ammo to a number under.