ⓢⓚⓤⓟⓔ 75 Posted October 6, 2012 Mudar de sexo é feio pessoal, não façam isso kkkkMas no entanto, como não pensamos da mesma maneira, deixo-vos aqui a solução :bEnjoy :| quest item_change_sex beginstate start beginwhen 71048.use begin if pc.get_level() < 50 then say_title("Pregaminho da Transformação")say_reward("Tens de ter no minimo nível 50!")return;endif pc.is_engaged() thensay_title("Pregaminho da Transformação")say_reward("Não podes mudar de sexo.")return;endif pc.is_married() thensay_title("Pregaminho da Transformação")say_reward("Deves te divorciar para mudar de mudar de sexo!")return;endif pc.is_polymorphed() thensay_title("Pregaminho da Tranformação")say_reward("Enquanto estiveres polimorfizado, não podes mudar de sexo!")say("")return;endif get_time() < pc.getqf("next_time") thensay_title("Pregaminho da Transformação")say_reward("Tens de esperar,")say_reward("para mudar de sexo outra vez!")say("") return;endsay_title("Pregaminho da Transformação")say("Queres mudar de sexo?")say("")local s=select("Sim","Não")if 1==s thensay("Tens acerteza?")say("")local s2=select("Sim","Não")if 1==s2 thensay("OK Eu vou mudar o teu sexo...")say_reward("Para mudares de sexo tens de")say_reward("reentrar na conta")say("")pc.remove_item(71048,1)pc.setqf("next_time", get_time() + 86400 * 3)pc.change_sex()local m_sex = pc.get_sex()if m_sex == 0 then char_log(0, "CHANGE_SEX", "F -> M")else char_log(0, "CHANGE_SEX", "M -> F")endendelseif 2==s thensay("ok, Fica para a próxima")endendendend 9 ProStriker, RuanSombra, Mastema and 6 others reacted to this Share this post Link to post Share on other sites
Cђ๏รєPєтภคร 865 Posted October 6, 2012 Obrigado por compartilhares com a comunidade. Cumprimentos,ChosePetras Share this post Link to post Share on other sites
RuanSombra 87 Posted October 6, 2012 mereçe http://cyber-gamers.org/public/style_emoticons/default/451960.gif ^^ ' Share this post Link to post Share on other sites
CrazyPow3rM3 2 Posted October 6, 2012 mereçe http://cyber-gamers.org/public/style_emoticons/default/451960.gif ^^ ' Share this post Link to post Share on other sites
Cєятєzαร 167 Posted November 26, 2012 Como meto isso, num item ? ;o.o Share this post Link to post Share on other sites
'PACI 2,317 Posted November 26, 2012 Isso já está posto num item. quest item_change_sex beginstate start beginwhen 71048.use beginTem o comando:when IdDoItem.use.use é para usar itens, e para funcionar tens que meter type 18 no item, isto já no item_proto do navicat Share this post Link to post Share on other sites