Garry's Mod Wiki

Entity:GetPersistent

  boolean Entity:GetPersistent()

Description

Returns whether the entity is persistent or not.

See Entity:SetPersistent for more information on persistence.

Returns

1 boolean
True if the entity is set to be persistent.