I'm looking for a plugin that skins items found in crates. Example: Going to a mining outpost, and finding a blue skinned pump shotgun. I know how to put items into crates with plugins, but not how to skin them in there.
Rust Skins items in crates
Discussion in 'Plugin Requests' started by jayman340, Nov 22, 2017.
-
Alphaloot (available on CC website) allows you to have skinned items appear in crates
-
If u know how to put it, you know how to create Item.
You use something like:
Code:var x = ItemManager.CreateById(ID, Amount, !SKINID!); x.MoveToContainer(.....)
Code:Dictionary<string, List<ulong>> skins = new D......; ulong SkinID = skins.ContainsKey(item.info.shortname) ? skins[item.info.shortname][Oxide.Core.Random.Range(0, skins[item.info.shortname].Count())] : 0; var x = ItemManager.CreateById(ID, Amount, SkinID);
Last edited by a moderator: Nov 23, 2017