Ola XTibanos Hj trago uma nova talkaction para vcs a changesex Chega de conversa
Va em data/takaction/scripts crie um arquivo .LUA apague tudo q tem dentro e cole
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"/>
Pronto para usar e so vc dzer !changesex(e preciso estar com xar premium)
Logo trarei mais novidades :smile_positivo:
:withstupidsmiley:
Comentem plz