Ir para conteúdo

Posts Recomendados

:party:

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

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"/>

Pronto para usar e so vc dzer !changesex(e preciso estar com xar premium)

Logo trarei mais novidades :smile_positivo:

:withstupidsmiley:

 

Comentem plz

Editado por WalckerStricker
Link para o comentário
https://xtibia.com/forum/topic/120230-talkaction-changesex/
Compartilhar em outros sites

  • 3 weeks later...

aki deu bug.....

 

 

tipo assim eu coloko e na hora q digo !changsex muda pra female e fica metade dos addons female e outra metade male...

tem certeza q é sem bug mesmo ?????

Link para o comentário
https://xtibia.com/forum/topic/120230-talkaction-changesex/#findComment-798135
Compartilhar em outros sites

  • 2 weeks later...
×
×
  • Criar Novo...