Garry's Mod Wiki

Entity:GetSubModels

Entity:GetSubModels

table Entity:GetSubModels()

Description

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

Returns

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

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

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 6