Player/SwitchToDefaultWeapon

From Garry's Mod
Revision as of 23:59, 26 July 2015 by Flowx (Talk | contribs)
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