Hi,
i can't get this work. In only print one of the players level instead of multiple:
What i try to achive after fetching all the levels, i would like to use them.
i can't get this work. In only print one of the players level instead of multiple:
Lua:
db.asyncStoreQuery("SELECT `level` FROM `players` WHERE `id` IN (3, 4, 5, 6, 8)", function(resultId)
if resultId then
print(result.getNumber(resultId, "level"))
end
end)
What i try to achive after fetching all the levels, i would like to use them.