Garry's Mod Wiki

gmsave.ShouldSaveEntity

  boolean gmsave.ShouldSaveEntity( Entity ent, table t )

Description

Returns if we should save this entity in a duplication or a map save or not.

Arguments

1 Entity ent
The entity
2 table t
A table containing classname key with entities classname.

Returns

1 boolean
Should save entity or not