Weapon/IsScripted

From Garry's Mod
Jump to: navigation, search
 Weapon:IsScripted( )

Description

Checks if the weapon is a SWEP or a built-in weapon.

Returns

boolean

Returns true if weapon is scripted ( SWEP ), false if not ( A built-in HL2 weapon )
Personal tools
Navigation