void GiveNamedWeapon( int playerIndex, string weaponName, int extraAmmo, bool noDefaultAmmo );
Gives a player a weapon. The name is the short name for that weapon (without the “weapon_” part); extra ammo is the ammount of ammo you want to give to the player at the same time and noDefaultAmmo will remove extra ammo given when the item is given (for example remove the extra grenades when one is given).
Beta 3.1
<lua> GiveNamedWeapon( playerIndex, “knife” ); GiveNamedWeapon( playerIndex, “grenade”, 1, true ); GiveNamedWeapon( playerIndex, “ar33”, 90 ); </lua>