Garry's Mod Wiki

Entity:SetModel

  Entity:SetModel( string modelName )

Description

Sets the model of the entity.

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

This silently fails when given an empty string.

Arguments

1 string modelName
New model value.