Hi everyone,
I need your help (again ).
In my game, I want to respawn 12 different items from an array of 100 elements every 24 hours.
I make the countdown and the array, about spawning I do something like this:
for i=1,12 do
 randomItem=math.random(1,100)
end
This works fine, the main problem is the duplicate value of randomItem, I need 12 differents elements so I need 12 different value for my randomItem
Any advice will be appreciate, thank you so much