This resource lets you create usable crates, that will give the player items that you associate with them.
- Custom weighted chances to drop specific items
- Use local or remote images for spinner
- Create multiple cases, each with the own set of items
- Randomized, server-sided item selection and validation
- Included several CSGO case inventory images, and included 2 creates as an example in the config
- Dimka Zheleznov for the UI code and posting it to codepen. Wherever you are, hats off to you. I absolutely copied near-100% to make this work.
['case_prisma2'] = {
label = 'Prisma 2 Case',
weight = 3000,
consume = 0,
server = {
export = 'js5m_lootcrate_ox.UseLootCrate',
},
},