Postado Janeiro 29, 2015 10 anos function onStepIn(cid, item, pos) -- NARUTO --]] for n = 1, 14 do if getPlayerVocation(cid) == n then doSetCreatureOutfit(cid, 123, -1) end end -- SASUKE --]] for s = 17, 30 do if getPlayerVocation(cid) == s then doSetCreatureOutfit(cid, 124, -1) end end -- LEE --]] for l = 33, 46 do if getPlayerVocation(cid) == s then doSetCreatureOutfit(cid, 125, -1) end end -- SHIKAMARU --]] for k = 47, 59 do if getPlayerVocation(cid) == k then doSetCreatureOutfit(cid, 126, -1) end end return true end Fiz assim, sabe fazer a tag ? Se quiser sua dúvida tirada, mande PM com os links, e não com a dúvida (outros podem ter a mesma dúvida, e o fórum serve para ser usado). Tópicos: [FAQ] BBCODE [LIB] Constant [RME] Administrando bordas. [TALK] Broadcast Editável. [TALK] Sugest. [TALK] Checkpoint. [MOVE] Pântano pegajoso. [ACTION] Piggy Bank. (Cassino). [GLOBAL] Uptime Ad. [C0DE] Consertando 'Invalid Password' [PROGRAM] Quest Maker
Postado Janeiro 29, 2015 10 anos Autor Nao, faz o tutorial completo ai pf!! Editado Janeiro 29, 2015 10 anos por Storm Night (veja o histórico de edições) "O sucesso é uma consequência e não um objetivo. A persistência é o caminho do êxito".
Postado Janeiro 29, 2015 10 anos Se estamos falando de vocações, estão você tenta assim: Vá em data/movements/scripts e cria um arquivo chamado televoc.lua function onStepIn(cid, item, pos) -- NARUTO if getPlayerVocation(cid) == 30 then setPlayerVocation(cid, math.random(876, 877)) end -- SASUKE if getPlayerVocation(cid) == 94 then setPlayerVocation(cid, math.random(878, 879)) end -- SAKURA if getPlayerVocation(cid) == 293 then setPlayerVocation(cid, math.random(880, 881)) end return true end Agora em data/movements/movements.xml adicione a seguinte linha: <movevent type="StepIn" actionid="20013" event="script" value="televoc.lua"/> Agora vá no seu map editor, vai nas propriedades do seu teleport, e coloque 20013 em actionid. Atenciosamente, Bruno Minervino
Postado Janeiro 29, 2015 10 anos Autor Man deu esse erro: Eu criei um arquivo em moviments/scripts chamado gvg.lua, e add os script e dps add a tag no moviments.xml Obs: È pq irei fazer uma guerra, AKATSUKI X ANBU. edit: function onStepIn(cid, item, pos) -- NARUTO if getPlayerVocation(cid) == 30 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(876, 877)) --- NÃO ENTENDI end -- SASUKE if getPlayerVocation(cid) == 94 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(878, 879)) --- NÃO ENTENDI end -- SAKURA if getPlayerVocation(cid) == 293 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(880, 881)) --- NÃO ENTENDI end return true end Obs: ve se pode por position pra teleportar o player. Editado Janeiro 29, 2015 10 anos por Storm Night (veja o histórico de edições) "O sucesso é uma consequência e não um objetivo. A persistência é o caminho do êxito".
Postado Janeiro 29, 2015 10 anos Man deu esse erro: Screenshot_2.png Eu criei um arquivo em moviments chamado gvg.lua, e add os script e dps add a tag no moviments.lua Obs: È pq irei fazer uma guerra, AKATSUKI X ANBU. edit: function onStepIn(cid, item, pos) -- NARUTO if getPlayerVocation(cid) == 30 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(876, 877)) --- NÃO ENTENDI end -- SASUKE if getPlayerVocation(cid) == 94 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(878, 879)) --- NÃO ENTENDI end -- SAKURA if getPlayerVocation(cid) == 293 then --- NÃO ENTENDI setPlayerVocation(cid, math.random(880, 881)) --- NÃO ENTENDI end return true end Obs: ve se pode por position pra teleportar o player. Ahhhhhhhhhhhhhhhh Agora eu entendi Então me passa todos os ids das vocações e o looktype AKATSUKI e ANBU de cada um. Atenciosamente, Bruno Minervino
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.