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

House commands issue

tiddpd

PHP Scripter
Joined
Apr 16, 2008
Messages
331
Reaction score
0
When someone tries to leave a hosue with !leavehouse it says that they are not the owner, which they are. The same happens with !sellhouse. What is the problem here? I am using TFS 0.3b3.
 
I tried the newer version and it still says "you are not the owner of the house" when I use !leavehouse. Yet I am the owner
 
That makes no since to me, I didn't say anything about my GM, and secondly whoever DOES own the house can't leave when they ARE the owner.
 
I have the exactly same problem! Using the lates TFS.

This is my file

function onSay(cid, words, param)
if getTileHouseInfo(getPlayerPosition(cid)) ~= FALSE then
if getHouseOwner(getTileHouseInfo(getPlayerPosition(cid))) == getPlayerGUID(cid) then
setHouseOwner(getTileHouseInfo(getPlayerPosition(cid)), 0)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have successfully left your house.")
else
doPlayerSendCancel(cid, "You are not the owner of this house.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
else
doPlayerSendCancel(cid, "You are not inside a house.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return TRUE
end


But I dont know if that's the problem, since the /owner command does not worth either..... I would love to get this fixed!
 
hmm yes, another thing! I dont know if this is important or not, but if a gamemaster makes /owner himself, and THEN says !leavehouse, it says "You have succesfully left your house". But still, the owner of the house does not change.
 
I already had that version. But yeah i got it figured out now, I think i got some beta talk actions mixed in with the pl2 and all the mambo jambo, so i re did it all and it works for me now.
 
Back
Top