Dangnoob's best answers

  • Dangnoob

    Lua Whats wrong with this script?

    Yeah that will work. Do the first if, then elseif for the rest, removing the ends. I'm on my phone right now or I would type it up for you.
  • Dangnoob

    Zero cost at shops

    It actually was nothing with the server. Was due to OTClient not showing them if it was 0 gold. For anybody curious, this is the change i made. instead of > 0, i just made it >= 0 for key,item in pairs(items) do if item[4] >= 0 then local newItem = {} newItem.ptr = item[1]...