Setting the skin on an item? (C#)
Discussion in 'Rust Development' started by ios, Mar 18, 2016.
-
Like this:
"skin" is the skin ID of the skin.Code:Item item = ItemManager.CreateByName(shortname, amount);item.skin = skin;if (item.GetHeldEntity()) { item.GetHeldEntity().skinID = skin; }
For a list of skin IDs look here:
Rust -
thanks!
