Garry's Mod Wiki

ENTITY:OnEntityCopyTableFinish

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 Structures/EntityCopyData 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

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 6