• 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!

Lua Check item question

Solution
you didn't specify if you were using it in an action script or anything, so here's the code that actually matters
Lua:
local tile = Tile(x, y, z) -- x, y, z pos of the tile you're looking for, can also be Tile(position)
if tile:getItemById(xxxx) then
    print("tile has item id xxxx")
end
you didn't specify if you were using it in an action script or anything, so here's the code that actually matters
Lua:
local tile = Tile(x, y, z) -- x, y, z pos of the tile you're looking for, can also be Tile(position)
if tile:getItemById(xxxx) then
    print("tile has item id xxxx")
end
 
Solution
Back
Top