Garry's Mod Wiki

Weapon:IsWeaponVisible

  boolean Weapon:IsWeaponVisible()

Description

Returns whether the weapon is visible. The term visibility is not exactly what gets checked here, first it checks if the owner is a player, then checks if the active view model has EF_NODRAW flag NOT set.

Returns

1 boolean
Is visible or not