Basically im making a very small plugin that removes and re-adds the active item with the selected skin on hes crafting menu, but so far, i haven't found where exactly is the method to get the selected item skinID
Getting the selected skin ID in the crafting menu?
Discussion in 'Rust Development' started by ( ͡° ͜ʖ ͡°) ᴇxɪsᴛᴇɴᴢ, Nov 30, 2015.
-
I guess thats client side.
-
What about the current list of skins available to the player for a specific item?
Ive also found this:
Code:Item selectedItem = player.GetActiveItem(); //copy the item selectedItem.skin = 0; //needs to be changed to the new skinIDforeach (var skin in selectedItem.info.skins) { if (skin.invItem.itemDefinition.enabled) { selectedItem.skin = skin.id; } }
-
-
I think its time to make a wiki and share some skin id's boys!
-