Garry's Mod Wiki

Weapon:AllowsAutoSwitchFrom

  boolean Weapon:AllowsAutoSwitchFrom()

Description

Returns whether the weapon allows to being switched from when a better ( Weapon:GetWeight ) weapon is being picked up.

Returns

1 boolean
Whether the weapon allows to being switched from.