Garry's Mod Wiki

Revision Difference

ENTITY:OnDuplicated#518311

<function name="OnDuplicated" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description> Called on any entity after it has been created by the <page>duplicator</page> and before any bone/entity modifiers have been applied. This hook is called after <page>ENTITY:Initialize</page> and before <page>ENTITY:PostEntityPaste</page>. </description> <realm>Server</realm> <predicted>No</predicted> <args> <arg name="entTable" type="table">&lt;page&gt;EntityCopyData&lt;/page&gt; of the source entity.</arg> <arg name="entTable" type="table"><page>EntityCopyData</page> of the source entity.</arg> </args> </function>