Postado Abril 2, 2018 7 anos Uso TFS 0.4, Achei uma script de look aqui no forum, dei uma editada pra ser o look que aparece jinchuuriki e ele já veio pra aparecer o "Estudante", "Gennin", Etc. O problema é que o look no game continua sendo o mesmo 10:50 You see Sakura Beater (Level 375). He is a sakura Military rank: Shinobi Passive. Gostaria de saber se teve algum erro nas edições que fiz e que alguem arrume a script caso haja algum bug! Agradeço desde já Edit: Resolvido function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid 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.") else return true local type = getPlayerStorageValue(thing.uid, 89745) doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(cid) == 0 and "Ela" or "Ele").." é um(a) "..(type < 0 and "Estudante" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Akatsuki" or type == 6 and "Kage")) return true elseif thing.uid == cid then type = getPlayerStorageValue(cid, 89745) doPlayerSetSpecialDescription(cid, "\nSeu nivel é de "..(type < 0 and "Estudante" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Akatsuki" or type == 6 and "Kage")..".") local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' Você é um(a) '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' Você é um(a) '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' if isPlayerGhost(cid) then string = string..'\n*GhostMode*' end string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end if jin.getPlayerBijuu(cid) ~= 0 then string = string.."\nJinchuuriki de: ["..jin.getPlayerBijuu(cid).."]" else string = string.."\nNão é um Jinchuuriki." end string = string.."\nVocê um(a) "..(type < 0 and "Estudante" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Akatsuki" or type == 6 and "Kage") doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end Editado Abril 4, 2018 7 anos por felippepsa (veja o histórico de edições) Naruto Age of Darkness (Naruto World)
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.