Ir para conteúdo

iRessourceHackeR

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    iRessourceHackeR deu reputação a EddyHavoc em !leavehouse   
    Entre 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 >>

Informação Importante

Confirmação de Termo