Garry's Mod Wiki

IconEditor:SetFromEntity

IconEditor:SetFromEntity

  IconEditor:SetFromEntity( Entity ent )

Description

Sets the editor's model and icon from an entity. Alternative to IconEditor:SetIcon, with uses a SpawnIcon.

You do not need to call IconEditor:Refresh after this.

Arguments

1 Entity ent
The entity to retrieve the model and skin from.

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 43
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6