Entity/GetSubModels

From Garry's Mod
Revision as of 17:06, 13 May 2014 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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