Entity/GetModel

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

Description

Gets the model of given entity.

NOTE

This does not necessarily return the model's path, as is the case for brush and virtual models.

Returns

string

The entity's model. Will be a filesystem path for most models.
Personal tools
Navigation