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

TFS 0.X [TFS 0.4] How to know if a player is inside a house?

Yan18

Member
Joined
Jun 14, 2014
Messages
104
Solutions
3
Reaction score
17
Hello guys!

There is a way to know if a player is inside a house? Have some flag to get it?

I searched if there was a way, but I didn't find it out.
 
Solution
@Yan18
That's what I found
Lua:
if not getTileInfo(fromPosition).house then
    doPlayerSendCancel(cid,"You may construct this only inside a house.")
    return true
end
Back
Top