Garry's Mod Wiki

duplicator.StoreEntityModifier

  duplicator.StoreEntityModifier( Entity entity, string name, table data )

Description

Stores an entity modifier into an entity for saving

Arguments

1 Entity entity
The entity to store modifier in
2 string name
Unique modifier name as defined in duplicator.RegisterEntityModifier
3 table data
Modifier data