Garry's Mod Wiki

Revision Difference

duplicator.StoreEntityModifier#518521

<function name="StoreEntityModifier" parent="duplicator" type="libraryfunc"> <description>Stores an entity modifier into an entity for saving</description> <realm>Server</realm> <args> <arg name="entity" type="Entity">The entity to store modifier in</arg> <arg name="name" type="string">Unique modifier name as defined in &lt;page&gt;duplicator.RegisterEntityModifier&lt;/page&gt;</arg>⤶ <arg name="name" type="string">Unique modifier name as defined in <page>duplicator.RegisterEntityModifier</page></arg>⤶ <arg name="data" type="table">Modifier data</arg> </args> </function>