Player/SwitchToDefaultWeapon

From Garry's Mod
Jump to: navigation, search
 Player:SwitchToDefaultWeapon( )

Description

Attempts to switch the player weapon to the one specified in the "cl_defaultweapon" convar, if the player does not own the specified weapon nothing will happen.

If you want to switch to a specific weapon, use: Player:SetActiveWeapon

Personal tools
Navigation