Entity/SetModel

From Garry's Mod
Revision as of 07:42, 7 November 2019 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:SetModel( )

Description

Sets the model of the entity.

This does not update the physics of the entity - see Entity:PhysicsInit.

WARNING

This silently fails when given an empty string.

Arguments

string modelName

New model value.
Personal tools
Navigation