Garry's Mod Wiki

Entity:IsMarkedForDeletion

  boolean Entity:IsMarkedForDeletion()

Description

Returns if the entity is going to be deleted in the next frame.

Returns

1 boolean
If the entity is going to be deleted.