Entity/GetSubModels

From Garry's Mod
Jump to: navigation, search
 Entity:GetSubModels( )

Contents

Description

Returns a list of models included into the entity's model in the .qc file.

Returns

table

The list of models included into the entity's model in the .qc file.

Examples

Example

Example structure of the table. Prints into console sub models of a player model.

PrintTable(Entity(1):GetSubModels() )

Output:

1:
		name	=	models/m_anm.mdl
		id	=	0
Personal tools
Navigation