Is there good method of changing? I've tried to do this way:
If it's correct, I suppose I get current item by a value, so there are no changes. Still, is there way of getting valid reference to the currect item?Code:baseplayer.GetActiveItem().skin = skins[choice].id; // skins is ItemSkinDirectory.Skin[]
How to change a skin of an active item?
Discussion in 'Rust Development' started by master_clown, Nov 30, 2015.
-
Use Item Skin Randomizer for Rust Experimental | Oxide as a reference.
-
-
-
Heh, ur doing the same plugin i've been trying to get done.
The main issue with the Skin Randomizer is the fact it gives everyone any skin available, regardless of being on hes account or not, removing the whole point of buying them (dont forget skins are bought or dropped and that plugin is stepping on a rather greyzone). master_clown is doing a plugin that only exchanges skins available to the player.