• 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. S

    Mining, Fletching, Woodcutting, Farming

    5. last one, name it woodcutting.lua and copy: [UPDATED] local config = { trees = {2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2712,2717,2718,2720,2722}, t = { [{1, 100}] = {tree = 2701}, [{101, 200}] = {tree = 2702}, [{201, 300}] = {tree = 2703}, [{301, 400}] = {tree = 2704}, [{401...
  2. S

    Mining, Fletching, Woodcutting, Farming

    Script by shinmaru I made it easier to see and use. ----------------Script Structure By Nirer/Kakashi~Sensei----------------- -------------Enhancements and configurablility by 375311------------- -----------Ask before you re-distribute to other sites----------- local config = { grounds =...
  3. S

    Solved Pick-Only-One-Item Quest LUA Error

    Otherwise you can use this code...and just set the information right. Set the chests unique id to the one in the scirpt with the map editor... ----------------chestid--------item_given---------------- local chest1 = {itemid = 1111, reward = 1111} local chest2 = {itemid = 1111, reward = 1111}...
  4. S

    Solved Pick-Only-One-Item Quest LUA Error

    To make it so you can only get one. Put the chests on the map editor...put the item in it....set the actionid of the chest to the items id set all the chests unique ids to the same thing. they will only be able to pick one.
  5. S

    TalkAction set player name in-game

    Fixed some minor bugs.... Also param = player you want to change names t[1] = name you want to change it. If you want to be an idiot go to native boards... I did this at like 3am get off my back. ty for showing mistakes but you dont need to be retarded about it.
  6. S

    TalkAction set player name in-game

    You can set players name in game. Put these functions in your 50-function function setPlayerName(cid, name) local query = "INSERT INTO `players` SET `name` = "..name.." WHERE `name` = "..cid return db.executeQuery(query) end function getOfflinePlayerName(cid) local query = "SELECT...
  7. S

    Lua I am trying to create a worm digging script

    Updated my code. I just messed up and added the +1 on remove rather then the adding part. It takes the worms then re-adds them with 1 more creating a stack effect.... I looked at cykos script and added one more thing alone with the ground ids as this is a essential part.. He also forgot to keep...
  8. S

    Lua I am trying to create a worm digging script

    You messed up because your script says if its LESS THEN 3976 then give them a worm....Then you go on to say if its more then 3976 then give them a worm.... You need to have a if its more then 3976 and less then idk 5000 then give them a worm (which would mean anything over 5000 wouldnt give...
  9. S

    TalkAction In-game !skills playername

    Updated with offline player check
  10. S

    Advanced Jail System

    With this jail system you can add more time to someone that's in jail. This is set up for TFS 8.54 distros and not tested unfortunately... You will first need to execute this in your database... ALTER TABLE `players` ADD `jail_time` INT(11) NOT NULL DEFAULT 0; Then in your 50-function put...
  11. S

    TalkAction In-game !skills playername

    Offline check added. function onSay(cid, words, param, channel) if (param == '') then doPlayerSendCancel(cid, "You must type !skills playername") return true else if (isPlayer(getPlayerByNameWildcard(param))) then local player = getPlayerByNameWildcard(param) local text1 =...
Back
Top