jhon992 371 Postado Julho 29, 2011 Share Postado Julho 29, 2011 tenho esse script: function onSay(cid, words, param) local outfit = {lookType=2} local outfitTime = 10 local pos = getPlayerPosition(cid) if getCreatureOutfit(cid).lookType == 32 then doSetCreatureOutfit(cid, outfit, outfitTime) doSendMagicEffect(pos, 30) doChangeSpeed(cid, -390) doPlayerSendTextMessage(cid,27,'Normal form!') else doPlayerSendCancel(cid,"Você não esta transformado!") end return 1 end ///////////////////////////////////////// Precisso que alem de remover a velocidade, que ele remove-se tambem skills por um determinado tempo. Ja pesquisei por tudo e não encontrei como fazer. Se ajudar rep++ concerteza! Link para o comentário https://xtibia.com/forum/topic/163405-problema-com-talkaction/ Compartilhar em outros sites More sharing options...
Mulizeu 86 Postado Julho 29, 2011 Share Postado Julho 29, 2011 (editado) function onSay(cid, words, param) local outfit = {lookType=2} local outfitTime = 10 local pos = getPlayerPosition(cid) if getCreatureOutfit(cid).lookType == 32 then doSetCreatureOutfit(cid, outfit, outfitTime) doSendMagicEffect(pos, 30) doChangeSpeed(cid, -390) doChangeSkills(cid, -200) doPlayerSendTextMessage(cid,27,'Normal form!') else doPlayerSendCancel(cid,"Você não esta transformado!") end return 1 end Testa ae amigo Editado Julho 29, 2011 por mulizeu Link para o comentário https://xtibia.com/forum/topic/163405-problema-com-talkaction/#findComment-1076370 Compartilhar em outros sites More sharing options...
jhon992 371 Postado Julho 29, 2011 Autor Share Postado Julho 29, 2011 (editado) nem funfo velho. Mais vlw a ajuda. Resolvi fazer com spell msm. RESOLVIDO! Editado Julho 30, 2011 por Jhon992 Link para o comentário https://xtibia.com/forum/topic/163405-problema-com-talkaction/#findComment-1076404 Compartilhar em outros sites More sharing options...
Mulizeu 86 Postado Julho 30, 2011 Share Postado Julho 30, 2011 function onSay(cid, words, param) local outfit = {lookType=2} local outfitTime = 10 local pos = getPlayerPosition(cid) if getCreatureOutfit(cid).lookType == 32 then doSetCreatureOutfit(cid, outfit, outfitTime) doSendMagicEffect(pos, 30) doChangeSpeed(cid, -390) doChangeSkill(cid, -200) doPlayerSendTextMessage(cid,27,'Forma Normal!') else doPlayerSendCancel(cid,"Você não esta transformado!") end return 1 end testa denovo ae amigo! Link para o comentário https://xtibia.com/forum/topic/163405-problema-com-talkaction/#findComment-1076471 Compartilhar em outros sites More sharing options...
Demonbholder 420 Postado Julho 30, 2011 Share Postado Julho 30, 2011 doChangeSkill Esta função não existe. Tópico fechado. Link para o comentário https://xtibia.com/forum/topic/163405-problema-com-talkaction/#findComment-1076825 Compartilhar em outros sites More sharing options...
Posts Recomendados