Entity.SetSkin

From GMod Wiki

Revision as of 17:04, 9 December 2010 by Joerdgs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:SetSkin( Integer skin )
Description:
Sets the skin number the entity should use.
Returns: nil
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.SetSkin]Entity.SetSkin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionChanges the skin of an entity to skin 2.
Used onNewerShared.png
Code
Entity:SetSkin( 2 )
OutputNothing unless Entity is defined and it has a skin 2.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox