Garry's Mod Wiki

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: 37ms

Session 0
DB GetPage 4
Generate Html 8
SaveChanges 10
Render Body 0
Render Sidebar 13