Here’s something that might help:
I don’t have a HUD that displays my ammo so I’m using a print string that shows me the current carrying ammo on a tick event.
Basically, in my weapon master I have a variable for current carrying ammo and magazine ammo. What I’m trying to do is to set them whenever I change the ammo.
So right now, if I press “T” the amount of ammo that I set the type of ammo to (in this case 40 ammo) then sets the current carrying ammo from the weapon master, then sets the magazine to 0, then reloads(as you can see the picture of the gun itself, the vector).
The reload just takes the current carrying ammo and fills the magazine if there is enough.
The “Reload function” works.
Just now I realized that my print string isn’t looking too well…
I’m not sure but I think it should show something like 40 40 40 40 … every frame and not 40 0 0 0 40 …
I’m sorry If I’m making this way too hard than it seems, or if I’m not explaining and comunicating my problem very well…