Player:Give
Description
Gives the player a weapon.
While this function is meant for weapons/pickupables only, it is not restricted to weapons. Any entity can be spawned using this function, including NPCs and SENTs.
Arguments
2 boolean bNoAmmo = false
Set to true to not give any ammo on weapon spawn. (Reserve ammo set by DefaultClip)
Returns
1 Weapon
The weapon given to the player, if one was given. It will return NULL if the player already has the weapon, or the weapon entity (entity with given classname) doesn't exist.