cbrm's best answers

  • cbrm

    What does local & function mean?

    This. Sadly I see that you need to learn step-by-step. Click here Let me know if you succeeded or need a physical dictionary.
  • cbrm

    Lua Table issues

    local level = 25 local cfg = { [{1, 5}] = { --just for test [1] = 121, [2] = 125, [3] = 129, effect = 2 }, [{2, 6}] = { [1] = 122, [2] = 126, [3] = 130, effect = 2 }, [{3, 7}] = { [1] = 123...
  • cbrm

    This script dont work for me???

    function getPlayerNameByGUID(guid) local resultId, name = db.storeQuery("SELECT `name` FROM `players` WHERE `id` = " .. guid), "Unknown" if resultId then name = result.getDataString(resultId, 'name') result.free(resultId) end return name end local function...
Top