Garry's Mod Wiki
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.
Description
Called when weapon tries to holster.
This will only be called serverside when using Player:SelectWeapon as that function immediately switches the weapon out of prediction.
This is called twice for every holster clientside, one in Prediction and one not.
Issue Tracker: 2854
Issue Tracker: 2854
Arguments
Returns
1 boolean
Return true to allow weapon to holster.
This will not have an effect if weapon was switched away from using Player:SetActiveWeapon
Example
Returns the weapon switched to when when the weapon is being holstered.
Output: Switched to Toolgun
Switched to weapon_crowbar
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...