I would like to know if there's anyway to Random tables with Lua. When the character go deposit items in depot or sell items will not always use the same 'order'.
I've been thinking this way but It takes too much time to edit.PHP Code:
local randomDp = math.random(1,3)
if randomDp == 1 then
elseif randomDp == 2 then
elseif randomDp == 3 then
Sorry for double post, this one can be closed.