• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. Critico

    Lua Problem with tabble

    not work
  2. Critico

    Lua Problem with tabble

    but has no other way instead of using ipairs?
  3. Critico

    Lua Problem with tabble

    I need to return the total table tabble = { ["minotaur"] = {exp = 1000}, ["globin"] = {exp = 2000}, ["rotworm"] = {exp = 4000} } total: 3 ^ but if use '#tabble' returns 0 one way is as follows: tabble = { ["minotaur"] = {exp = 1000}, ["globin"] = {exp = 2000}...
  4. Critico

    GlobalEvent Automatic Cleaning Spefic Area!

    perfect! perfeito nice work xD
  5. Critico

    [LUA] Can only use 1 time per character

    local cfg = { level = 1000, itemid = 8474, newMana = 150000, storage = 89784 } function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerLevel(cid) < cfg.level then return doPlayerSendCancel(cid, "Your level is not high enough.") elseif...
  6. Critico

    NPC Rent Mounts!

    bump
  7. Critico

    Npc error

    no problem
  8. Critico

    Npc error

    lib/032-position.lua add: function Position(x, y, z, stackpos) local position = {x = 0, y = 0, z = 0} if(isNumeric(x .. y .. z)) then position = {x = x, y = y, z = z} if(isNumeric(stackpos)) then position.stackpos =...
  9. Critico

    [System] Weapon Hit Rank!

    sorry, I do not know programming in php
  10. Critico

    Need script

    function onUse(cid, item, fromPosition, itemEx, toPosition) return doTransformItem(item.uid, item.itemid == 1485 and 1484 or 1485) end
  11. Critico

    Buy stuff from NPC with tokens

    np :)
  12. Critico

    Buy stuff from NPC with tokens

    For trade: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  13. Critico

    CreatureEvent Look type, for profession (to dragon ball, naruto or RPG OTS)

    not need to use 'for' function onLogin(cid) local x = { [1] = 121, -- sorc [2] = 122, -- druid [3] = 123 -- paladin } if (not x[getPlayerVocation(cid)]) then return true end doSetCreatureOutfit(cid, {lookType = x[getPlayerVocation(cid)]}, -1) return true end function onLogin(cid) local x =...
  14. Critico

    TalkAction Online List | !online | in Book

    function onSay(cid, words, param, channel) local str,count = "",0 for _, cid in ipairs(getPlayersOnline()) do if getPlayerAccess(cid) < 3 then count = count + 1 str = str.."".. (str == "" and "" or ",") ..""..getPlayerName(cid).."["..getPlayerLevel(cid).."]"...
  15. Critico

    [System] Weapon Hit Rank!

    sure :)
  16. Critico

    [System] Weapon Hit Rank!

    It's because your server is MySQL, but we will solve this ... Change this line: local query = db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = "..value.." ORDER BY cast(value as INTEGER) DESC;") for this: local query = db.getResult("SELECT `player_id`, `value`...
  17. Critico

    NPC Marriage system 8.6+ [Fixed]

    here add outfit: setPlayerStorageValue(getPlayerByNameWildcard(getPlayerNameByGUID(players[i])), 150420, 1) here remove outfit: setPlayerStorageValue(cid, 150420, -1) -- remove cid -- remove patner outfit if Ponline(pguid) then...
  18. Critico

    NPC Rent Mounts!

    Creio que sim amigo I think so @wizard vlw mano, Eu sei q é vc xd kkk thanks, I know it's you
  19. Critico

    NPC Rent Mounts!

    works on servers 8.7+
Back
Top