This was just added in the latest version (2020.06.24). It might only be available on the Dev Branch right now.
Forces the player to pickup an existing weapon entity. The player will not pick up the weapon if they already own a weapon of given type, or if the player could not normally have this weapon in their inventory.
This function will bypass GM:PlayerCanPickupWeapon.