Postado Abril 2, 2018 7 anos Autor Em 02/04/2018 em 12:55, felippepsa disse: Funciona no TFS 0.4 ? Sim , 100%
Postado Abril 2, 2018 7 anos Autor Em 02/04/2018 em 22:23, victor4312 disse: como faz para sair de estudante para genin de genin pra chunnin etc? Dando um determinado valor de uma storage a um player ; por exemplo setPlayerStorageValue(cid, storage, 5) -- dará ao player o rank de SENNIN
Postado Abril 2, 2018 7 anos Em 02/04/2018 em 21:30, Sttorm disse: Sim , 100% Achei essa script de look no forum, poderia juntar pra mim, ou me dizer como juntar ? E também achei estranho que, quando testei aqui mudei as storages pra certa e os values também so que ingame não mudou nada no look! E tenho certeza que arrumei certinho, se poder verifique pra mim é o 2 script, Obrigado! Edit: E ambos scripts estão dando values do storage, verifiquei e todos tem setPlayerStorageValue(cid,89745,1) function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then if jin.getPlayerBijuu(thing.uid) ~= 0 then doPlayerSetSpecialDescription(thing.uid, "\nJinchuuriki de: ["..jin.getPlayerBijuu(thing.uid).."]") else doPlayerSetSpecialDescription(thing.uid, "\nNão é um Jinchuuriki.") end end return true end -- <event type="look" name="showVoc" event="script" value="showvoc.lua"/> -- registerCreatureEvent(cid, showVoc) local t = { [-1] = "Estudante", [0] = "Estudante", [1] = "Genin", [2] = "Chunnin", [3] = "Jounin", [4] = "Anbu", [5] = "Akatsuki" [5] = "Kage", } function onLook(cid, thing, position, lookDistance) local storage = 89745 local get_description = t[getPlayerStorageValue(thing.uid, storage)] local get_sex = (getPlayerSex(thing.uid) == 0 and "She" or "He") local get_town = getTownName(getPlayerTown(thing.uid)) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid, "\n ".. get_sex .." are ".. get_description ..". \n ".. get_sex .." is the resident of ".. get_town ..".") end return true end Editado Abril 2, 2018 7 anos por felippepsa (veja o histórico de edições) Naruto Age of Darkness (Naruto World)
Postado Abril 2, 2018 7 anos Autor [-1] = "Estudante", [0] = "Estudante", [1] = "Genin", [2] = "Chunnin", [3] = "Jounin", [4] = "Anbu", [5] = "Akatsuki" [5] = "Kage", Está incorreto ; o correto é seguir a sequencia [-1] = "Estudante", [0] = "Estudante", [1] = "Genin", [2] = "Chunnin", [3] = "Jounin", [4] = "Anbu", [5] = "Akatsuki" [6] = "Kage",
Postado Abril 19, 2019 6 anos funcionou perfeitamente, mas pra isso eu tive que desativar o sistema de rank, shinobi aggressive, akatsuki leader etc... é possível fazer os dois funcionarem ao mesmo tempo?
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.