Garry's Mod Wiki

Entity:IsWeapon

  boolean Entity:IsWeapon()

Description

Checks if the entity is a weapon or not.

Returns

1 boolean
Whether the entity is a weapon