Garry's Mod Wiki

duplicator.GenericDuplicatorFunction

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

Page Links


Special Pages


Wikis

?

Render Time: 34ms

Session 0
DB GetPage 2
Generate Html 11
SaveChanges 7
Render Body 0
Render Sidebar 11