Question about random


I wan’t to add an item “random bag”, so if somebody buy this item, he get a random item. How to do that? Could somebody give me an example?


Assuming you’re using ESX, the easiest thing to do would be to make a usable item named “Random Bag” and when you use it, the server grabs a random item and adds it to the players inventory.


What “framework” are you using?