Topic:
Topic:
C++ Or lua / Delete X itens in House
Lua = you can delete them via the database depending on how the database strcutre is.
If you posted the server version I could have looked that up.
local house = House(getTileHouseInfo(player:getPosition()))
if house then
local items = house:getItems()
for i = 1, #items do
print(items)
end
have u tried printing info like
Code:local house = House(getTileHouseInfo(player:getPosition())) if house then local items = house:getItems() for i = 1, #items do print(items) end
print(items[i])
ye bud i k was just sayingYou can't print an array.Code:print(items[i])