That.
I'd like to know how to change the value of ammo for a given weapon and to be able to detect the weapon the player has in hand.
EDIT: I think I found the way to get which weapon is the player holding, like, ready to fire, but I still don't know how to change the ammo.
I'd like to know how to change the value of ammo for a given weapon and to be able to detect the weapon the player has in hand.
EDIT: I think I found the way to get which weapon is the player holding, like, ready to fire, but I still don't know how to change the ammo.
Last edited: