Garry's Mod Wiki

Entity:IsScripted

  boolean Entity:IsScripted()

Description

Checks if the entity is a SENT or a built-in entity.

Returns

1 boolean
Returns true if entity is scripted ( SENT ), false if not ( A built-in engine entity )