Garry's Mod Wiki

Garry's Mod Wiki

  ENTITY:OnDuplicated( table entTable )

Description

Called on any entity after it has been created by the duplicator and before any bone/entity modifiers have been applied.

This hook is called after ENTITY:Initialize and before ENTITY:PostEntityPaste.

Arguments

1 table entTable
The stored data about the original entity that was duplicated. This would typically contain the Entity:GetTable fields that are serializalble. See EntityCopyData structure.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...