How to Stop integer from going into negative

Hello I am Extremely new to UE4 and have only been using it for a few days,I have been trying to setup ammo and ammo counter which i managed to do.If i hold the left mouse button down then my gun fires full-atuo and will stop when its becomes empty,however once this stage has been reached i can then single fire and put the ammo count into negative numbers. I have looked at solutions such clamping(which i was not really sure how it worked,i would just reduce the ammo count by 30 each shot)and i have tried capping the variable but that has done nothing I’m sure there is something wrong with the blue prints but i am not familiar enough to see what it is.
Also so haven’t yet setup any reloading.

PLEASE IGNORE THIS QUESTION I HAVE FOUND THE PROBLEM.
:slight_smile: