Garry's Mod Wiki

duplicator.FindEntityClass

  table duplicator.FindEntityClass( string name )

Description

Returns the entity class factory registered with duplicator.RegisterEntityClass.

Arguments

1 string name
The name of the entity class factory

Returns

1 table
Is compromised of the following members:
  • function Func - The function that creates the entity
  • table Args - Arguments to pass to the function