• 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 Clean House ..

keal

New Member
Joined
Mar 10, 2010
Messages
26
Reaction score
2
I have got a problem. I'm using tfs 0.4. When I want to leave house the items stay inside...
I tried to modify a script adding doCleanHouse(getHouseInfo(house).id) - houseId is correct.
But nothing happens. Anyone have idea ?
 
I have got a problem. I'm using tfs 0.4. When I want to leave house the items stay inside...
I tried to modify a script adding doCleanHouse(getHouseInfo(house).id) - houseId is correct.
But nothing happens. Anyone have idea ?
According to the sources, getHouseInfo requires the house id as an argument, its return value is a table however id is not a property of the table it returns.
The doCleanHouse method also requires the house id as an argument.
So this
Lua:
doCleanHouse(getHouseInfo(house).id)
Should really be defined as this
Lua:
doCleanHouse(house)
And that is only if house is a valid house id.
 
doCleanHouse(house) nothing happens.
I'm not sure that I have this function in my tfs. I didn't see it in lib / functions . ;/

Maybe any other idea how can I clean the house after selling?
 
Back
Top