It’s a pain in the ass to avoid a pile of guns since it picks up at once and giving you more ammo, unlike CSS where you go to a pile, you pick up one and that’s it. Any way to disable picking up ammo from guns, or does it have to be modified in the gun’s code?
You can use PlayerCanPickupWeapon(http://wiki.garrysmod.com/?title=Gamemode.PlayerCanPickupWeapon) and PlayerCanPickupItem(http://wiki.garrysmod.com/?title=Gamemode.PlayerCanPickupItem)
It worked perfectly with Player:HasWeapon(). Thanks.