Garry's Mod Wiki
Description
Called after the duplicator pastes the entity, after the bone/entity modifiers have been applied to the entity.
This hook is called after ENTITY:OnDuplicated. See also ENTITY:PreEntityCopy.
Arguments
1 Player ply
The player who pasted the entity.
This may not be a valid player in some circumstances. For example, when a save is loaded from the main menu, this hook will be called before the player is spawned. This argument will be a NULL entity in that case.
3 table createdEntities
All entities that are within the placed dupe.
The keys of each value in this table are the original entity indexes when the duplication was created. This can be utilized to restore entity references that don't get saved in duplications.
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...