Va em data/takaction/scripts crie um arquivo .LUA apague tudo q tem dentro e cole:
function onSay(cid, words, param)if getPlayerPremiumDays(cid) > 2 then
doPlayerRemovePremiumDays(cid, 3)
if getPlayerSex(cid) == 0 then
doPlayerSetSex(cid, 1)
else
doPlayerSetSex(cid, 0)
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have changed your sex and lost three days of premium account.")
else
doPlayerSendCancel(cid, "You do not have enough premium days, changing sex costs three of your premium days.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
end
Depois va em Talkaction.XML e adicione:
<talkaction words="!changesex" script="changesex.lua"/>








info
Group: Cavaleiro
Joined: 02/11/08
Posts: 195
Reputation: +2
Gender: Masculino
Tibia Character: Addamuuss
Gostaria de um Script que a pessoa digitasse !change sex, e mudasse de sexo por 10k!
Meu servidor é 8.6, com Distro Real Server 3.0
Obrigado desde jah.