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: 23ms

DB GetPage 5
Generate Html 0
SaveChanges (1) 9
Render Body 0
Render Sidebar 6