Garry's Mod Wiki

Weapon:IsScripted

boolean Weapon:IsScripted()

Description

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

Returns

1 boolean
Returns true if weapon is scripted ( SWEP ), false if not ( A built-in HL2 weapon )

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 5
Generate Html 2
SaveChanges (1) 23
Render Body 0
Render Sidebar 12