Garry's Mod Wiki

Garry's Mod Wiki

  ENTITY:OnEntityCopyTableFinish( table data )

Description

Called after duplicator finishes saving the entity, allowing you to modify the save data.

This is called after ENTITY:PostEntityCopy.

Arguments

1 table data
The save EntityCopyData structure that you can modify.

Example

Prevent this entity from being copied and subsequently pasted.

function ENT:OnEntityCopyTableFinish( data ) for k, v in pairs( data ) do data[ k ] = nil end end

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 four times a day. Edits and history are not available.

Last Parsed: Loading...