If that's where it's empty and to reload. have a variable that goes down every time the gun is shot (provided it has ammo) and when at zero and either a certain key pressed make it set the variable back to the highest amount till reaching gun ammo max or no ammo in player's inventory anymore.
If that's where it's empty and to reload. have a variable that goes down every time the gun is shot (provided it has ammo) and when at zero and either a certain key pressed make it set the variable back to the highest amount till reaching gun ammo max or no ammo in player's inventory anymore.