Blazera 8.60
blazera.net
SOBRE O BLAZERA
Um fresh start em um servidor 8.6 clássico, com real map, focado na experiência raiz do Tibia. | Classic Real Map • Fresh Start • Client 8.6 • Old School Gameplay • Active Community
Inicia em:
--
Participar
Histórico de Curtidas
-
iRessourceHackeR deu reputação a EddyHavoc em !leavehouseEntre em Data > Talkactions > Scripts
Copie e cole um arquivo , depois renome-e para leavehouse
Abra-o e cole o seguinte script.
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 end Depois salve e feche. Depois abra o Talkactions.xml e cole a seguinte TAG. <talkaction words="!leavehouse" script="leavehouse.lua"/>
Ajudei ? da um gostei ali >>