Garry's Mod Wiki

Entity:SetModelName

  Entity:SetModelName( string modelname )

Description

Alter the model name returned by Entity:GetModel. Does not affect the entity's actual model.

Arguments

1 string modelname
The new model name.