Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

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