Ir para conteúdo
  • 0

[Resolvido] Item q troca de sexo


Marshmello

Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0
<action actionid="xxxx" event="script" value="changsex.lua"/>

 

function onUse(cid, item, fromposition, itemex, toposition)if( getPlayerSex(cid) == 0 )then  doPlayerSetSex(cid, 1)doPlayerSendTextMessage(cid,22, "You have changed your Gender")doSendMagicEffect(getPlayerPosition(cid), 5)elseif( getPlayerSex(cid) == 1 ) then  doPlayerSetSex(cid, 0)doPlayerSendTextMessage(cid,22, "You have changed your Gender")doSendMagicEffect(getPlayerPosition(cid), 5)end  return true  end  end

 

Link para o comentário
Compartilhar em outros sites

  • 0
Em 26/02/2017 at 16:06, kaleudd disse:
<action actionid="xxxx" event="script" value="changsex.lua"/>

 

function onUse(cid, item, fromposition, itemex, toposition)if( getPlayerSex(cid) == 0 )then  doPlayerSetSex(cid, 1)doPlayerSendTextMessage(cid,22, "You have changed your Gender")doSendMagicEffect(getPlayerPosition(cid), 5)elseif( getPlayerSex(cid) == 1 ) then  doPlayerSetSex(cid, 0)doPlayerSendTextMessage(cid,22, "You have changed your Gender")doSendMagicEffect(getPlayerPosition(cid), 5)end  return true  end  end

 

Vlw Manin Rep+ :D

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...