Postado Março 10, 2012 13 anos Eae galera tou mostrando um problema na transformarçao system Da uma olha quem souber 1ºvou mostrar a config dela C:\Users\Joao Victor\Desktop\Bleach UP - By Status\data\talkactions\scripts ---Transform Version 1.0 By Aragorn function onSay(cid, words, param) if getPlayerVocation(cid) == 2 and getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid, 17) local outfit = {lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 12) doPlayerSendCancel(cid, "You transform!") elseif getPlayerLevel(cid) <= 50 then doPlayerSendCancel(cid, "You need 50 level to transform!") end if getPlayerVocation(cid) == 17 then doPlayerSetVocation(cid, 18) local outfit = { lookType = 31 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") elseif getPlayerVocation(cid) == 18 then doPlayerSetVocation(cid, 19) local outfit = { lookType = 32 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") else doPlayerSendCancel(cid, "It is your last transform.") end return true end 2ºAgora talkation! C:\Users\Joao Victor\Desktop\Bleach UP - By Status\data\talkactions <!-- Players --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!uptime" event="script" value="uptime.lua"/> <talkaction words="!deathlist" event="script" value="deathlist.lua"/> <talkaction words="!pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!rank;/rank" script="rank.lua"/> <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="/commands" event="script" value="commands.lua"/> <!-- <talkaction words="!saga" event="script" value="saga.lua"/> --> <!-- Transform --> Como eu arrumo esse system na talkation Valendo Rep+ Editado Março 10, 2012 13 anos por zamurai (veja o histórico de edições) Meus Trabalhos [Aprendendo] Criar client Próprio Scripts !transform Weblara O Dedicado Que Você Quer Só Aqui . Projeto Bleach server Ajudem. só colocar seu nome o skype eo que você sabe fazer.
Postado Março 10, 2012 13 anos Autor Nao funfa Eu falo Transformar ele nao transfoma taligado??vou mandar um print Meus Trabalhos [Aprendendo] Criar client Próprio Scripts !transform Weblara O Dedicado Que Você Quer Só Aqui . Projeto Bleach server Ajudem. só colocar seu nome o skype eo que você sabe fazer.
Postado Março 10, 2012 13 anos \data\talkactions\scripts\trans.lua function onSay(cid, words, param) local config = { level = 50, outfit1 = {lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0}, outfit2 = { lookType = 31 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0}, outfit3 = { lookType = 32 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0}, } if getPlayerVocation(cid) == 2 and getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid, 17) doSetCreatureOutfit(cid, config.outfit1, -1) doSendMagicEffect(getCreaturePosition(cid), 12) doPlayerSendCancel(cid, "You transform!") elseif getPlayerLevel(cid) < 50 then doPlayerSendCancel(cid, "You need 50 level to transform!") end if getPlayerVocation(cid) == 17 then doPlayerSetVocation(cid, 18) doSetCreatureOutfit(cid, config.outfit2, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") elseif getPlayerVocation(cid) == 18 then doPlayerSetVocation(cid, 19) doSetCreatureOutfit(cid, config.outfit3, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") else doPlayerSendCancel(cid, "It is your last transform.") end return true end \data\talkactions\talkactions.xml <talkaction words="!transform" event="script" value="trans.lua"/> Certifique-se que o seu ot possui as vocações 17, 18, 19
Postado Março 24, 2012 13 anos Mano va em data\talkactions\scripts copie um arquivo e renomeie para transformar dentro cole : ---Transform Version 1.0 By Aragorn function onSay(cid, words, param) if getPlayerVocation(cid) == 2 and getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid, 17) local outfit = {lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 12) doPlayerSendCancel(cid, "You transform!") elseif getPlayerLevel(cid) <= 50 then doPlayerSendCancel(cid, "You need 50 level to transform!") end if getPlayerVocation(cid) == 17 then doPlayerSetVocation(cid, 18) local outfit = { lookType = 31 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") elseif getPlayerVocation(cid) == 18 then doPlayerSetVocation(cid, 19) local outfit = { lookType = 32 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You transform!") else doPlayerSendCancel(cid, "It is your last transform.") end return true end Apos faser isso va em \data\talkactions\talkactions.xml e cole o seguite <talkaction words="!transform" event="script" value="transformar.lua"/> CASO NO DATA/XML/VOCATIONS nao tenha as vocations 17, 18, 19 dadas no script nao ira funcionar Editado Março 24, 2012 13 anos por dionatan99 (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.