Postado Junho 4, 2015 10 anos Olá, Alguem pode me ajudar com um script que faz com que o player usa o item e ele passa a ter o Outfit x, e preciso tambem para as mounts. obrigado Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
Postado Junho 4, 2015 10 anos Autor permanente Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
Postado Junho 5, 2015 10 anos local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male function onUse(cid, item, itemEx, toPosition, fromPosition) if isPlayer(cid) == TRUE then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, female) else doCreatureChangeOutfit(cid, male) end doSendMagicEffect(getThingPos(cid), 29) doSendAnimatedText(getPlayerPosition(cid),"Wooaahh!", math.random(01,255)) doRemoveItem(item.uid, 1) end return TRUE end
Postado Junho 5, 2015 10 anos Autor local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male function onUse(cid, item, itemEx, toPosition, fromPosition) if isPlayer(cid) == TRUE then if getPlayerSex(cid) == 0 then doCreatureChangeOutfit(cid, female) else doCreatureChangeOutfit(cid, male) end doSendMagicEffect(getThingPos(cid), 29) doSendAnimatedText(getPlayerPosition(cid),"Wooaahh!", math.random(01,255)) doRemoveItem(item.uid, 1) end return TRUE end Esqueci de mencionar, é TFS 1.2, está certo ? @edit não funcionou, eu uso o item e ele te da a ropinha só na aparencia, ai vc desloga e perde... e o item não some. Editado Junho 6, 2015 10 anos por lamina (veja o histórico de edições) Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
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.