Garry's Mod Wiki

Garry's Mod Wiki

  Entity duplicator.GenericDuplicatorFunction( Player ply, table data )

Description

"Generic function for duplicating stuff"

This is called when duplicator.CreateEntityFromTable can't find an entity factory to build with. It calls duplicator.DoGeneric and duplicator.DoGenericPhysics to apply standard duplicator stored things such as the model and position.

Arguments

1 Player ply
The player who wants to create something
2 table data
The duplication data to build the entity with

Returns

1 Entity
The newly created entity

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...