Garry's Mod Wiki

duplicator.GenericDuplicatorFunction

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

Page Links


Special Pages


Wikis

?

Render Time: 31ms

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