Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...