duplicator.FindEntityClass

From Garry's Mod
Jump to: navigation, search
 duplicator.FindEntityClass( )

Description

Returns the entity class factory registered with duplicator.RegisterEntityClass.

Arguments

string name

The name of the entity class factory

Returns

table

Is compromised of the following members:

  • function Func - The function that creates the entity
  • table Args - Arguments to pass to the function
Personal tools
Navigation