• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Doggynub

    How would you script This!

    if the shape of the room is like what u posted this should work frompos<--XXXXXX -----------XXXXXX -----------XXXXXX-->topos local rooms = { -- diffenet room from and to pos (starting sqm to ending sqm) [1] = { frompos = {x=217, y= 468, z= 12}, topos = {x=222, y= 470, z= 12} } , [2] =...
  2. Doggynub

    Help with date function!

    this should be a really accurate formula local vipStorage = getPlayerStorage(cid,vip_storage) local left = os.date("%d days, %H hours,%M minutes and %S seconds.", ((vipStorage-os.time())-(day))- 2*60*60) local time_it_end = os.date("%X",vipStorage) local ends_date =...
  3. Doggynub

    Help with date function!

    so the vip_storage is the os.time() + time added?
  4. Doggynub

    How would you script This!

    All the rooms is in this shape? XXXXXX X0000X XXXXXX
  5. Doggynub

    Help with date function!

    In the date format you can use os.time() + getPlayerVipDays() * 24* 60* 60 As for the time format this wont be accurate unless when player get their vip you save thier time in storage or something then you recall it.
  6. Doggynub

    Easy script: Check action id and teleport [SOLVED]

    well so you want when a player enter a sqm meter he is teleported to another sqm just if this other sqm is empty?
  7. Doggynub

    !eq talkaction

    create eq.lua and paste local items = { -- count only work on stackable items ex: gold,food, etc.. [1] = {id = 2410, count = 1}, [2] = {id = 9811, count = 1}, [3] = {id = 9808, count = 1}, [4] = {id = 9821, count = 1}, [5] = {id = 9814, count = 1}, [6] = {id =...
  8. Doggynub

    House system

    Try local a = { -- A Position in each house. {x=0, y=0, z=0}, {x=0, y=0, z=0}, {x=0, y=0, z=0}, {x=0, y=0, z=0}, {x=0, y=0, z=0}, {x=0, y=0, z=0}, {x=0, y=0, z=0} } --[[Script]]-- function getPlayersByAccount(id) local f = db.getResult("SELECT `id` FROM...
  9. Doggynub

    House system

    what tfs u use?
  10. Doggynub

    House system

    well you want that if a player already have a house then players in same account can't get this prize?
  11. Doggynub

    House system

    i know but maybe one of these tiles is in the same house local t = { a = { [-1] = {x="x", y="y", z="z"}, [0] = {x="x", y="y", z="z"}, [1] = {x="x", y="y", z="z"}, [2] = {x="x", y="y", z="z"}, [3] = {x="x", y="y", z="z"}, [4] = {x="x", y="y", z="z"}, [5] = {x="x", y="y", z="z"}...
  12. Doggynub

    House system

    Well recheck the positions you put.
  13. Doggynub

    House system

    well try doPlayerSendTextMessage(cid, 21, "Congratulations! You've won "..getHouseName(house).." which is located in "..getTownName(getHouseTown(house)).." town.")
  14. Doggynub

    House system

    Just recopy my script and check it.
  15. Doggynub

    House system

    well start the numbers in table from -1 :), recompy my script
  16. Doggynub

    Help with script

    simple idea local time = 3 * 60 function newRound() -- create your monsters addEvent(newRound,time*1000) end function onSay(cid,param) newRound() return true end
  17. Doggynub

    House system

    try this ? local t = { a = { [-1] = {x="x", y="y", z="z"}, [0] = {x="x", y="y", z="z"}, [1] = {x="x", y="y", z="z"}, [2] = {x="x", y="y", z="z"}, [3] = {x="x", y="y", z="z"}, [4] = {x="x", y="y", z="z"}, [5] = {x="x", y="y", z="z"}, [6] = {x="x", y="y", z="z"} }, s = 1002 }...
  18. Doggynub

    House system

    try "getStorage()" instead
  19. Doggynub

    !bestbloodhit , !bestspellhit - commands

    .............
  20. Doggynub

    !bestbloodhit , !bestspellhit - commands

    any way i see you just repaired this part, haven't read your code again since i posted "This is Fail"
Back
Top