How to limit player max ammo ?

Like the tittle say :slight_smile:
I wonder is there a way to limit player max ammo ?
Is there a way, how to do it ?
I don’t want my friends just pickup everything on they way :3.

you can try to limit it by using the PlayerCanPickupWeapon hook. Check if the type of ammo is below the limit, and if so, allow the pickup. If the ammo goes over, simply set it to the max.