Oi.. eu quero mudar quando eu coloco look em pokemon..
ele dice
21:55 You see a Shining pokeball.
It contains a Shiny Hypno. Price: unsellable.
Boost level: +50.
It is male.
eu quero que diga
21:55 You see a Shining pokeball.
It contains a Shiny Hypno +50. Price: unsellable.
It is male.
por favor eu preciso de ajuda... obrigado desde ja !
local NPCBattle = {
["Brock"] = {artig = "He is", cidbat = "Pewter"},["Misty"] = {artig = "She is", cidbat = "Cerulean"},["Blaine"] = {artig = "He is", cidbat = "Cinnabar"},["Sabrina"] = {artig = "She is", cidbat = "Saffron"}, --alterado v1.9 \/ peguem tudo!["Kira"] = {artig = "She is", cidbat = "Viridian"},["Koga"] = {artig = "He is", cidbat = "Fushcia"},["Erika"] = {artig = "She is", cidbat = "Celadon"},["Surge"] = {artig = "He is", cidbat = "Vermilion"},}function onLook(cid, thing, position, lookDistance)local str = {}if not isCreature(thing.uid) thenlocal iname = getItemInfo(thing.itemid)if isPokeball(thing.itemid) and getItemAttribute(thing.uid, "poke") thenunLock(thing.uid)local lock = getItemAttribute(thing.uid, "lock")local pokename = getItemAttribute(thing.uid, "poke")table.insert(str, "You see "..iname.article.." "..iname.name..".")if getItemAttribute(thing.uid, "unique") thentable.insert(str, " It's an unique item.")endif pokesPrice[pokename] thentable.insert(str, "\nIt contains "..getArticle(pokename).." "..pokename..". Price: $"..pokesPrice[pokename].price..".\n")elsetable.insert(str, "\nIt contains "..getArticle(pokename).." "..pokename..". Price: unsellable.\n")endif lock and lock > 0 thentable.insert(str, "It will unlock in ".. os.date("%d/%m/%y %X", lock)..".\n")endlocal boost = getItemAttribute(thing.uid, "boost") or 0if boost > 0 thentable.insert(str, "Boost level: +"..boost..".\n")endif getItemAttribute(thing.uid, "nick") thentable.insert(str, "It's nickname is: "..getItemAttribute(thing.uid, "nick")..".\n")endif getItemAttribute(thing.uid, "gender") == SEX_MALE thentable.insert(str, "It is male.")elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE thentable.insert(str, "It is female.")elsetable.insert(str, "It is genderless.")enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseelseif string.find(iname.name, "fainted") or string.find(iname.name, "defeated") thentable.insert(str, "You see a "..string.lower(iname.name)..". ")if isContainer(thing.uid) thentable.insert(str, "(Vol: "..getContainerCap(thing.uid)..")")endtable.insert(str, "\n")if getItemAttribute(thing.uid, "gender") == SEX_MALE thentable.insert(str, "It is male.")elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE thentable.insert(str, "It is female.")elsetable.insert(str, "It is genderless.")enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseelseif isContainer(thing.uid) then --containersif iname.name == "dead human" and getItemAttribute(thing.uid, "pName") thentable.insert(str, "You see a dead human (Vol:"..getContainerCap(thing.uid).."). ")table.insert(str, "You recognize ".. getItemAttribute(thing.uid, "pName")..". ".. getItemAttribute(thing.uid, "article").." was killed by a ")table.insert(str, getItemAttribute(thing.uid, "attacker")..".")elsetable.insert(str, "You see "..iname.article.." "..iname.name..". (Vol:"..getContainerCap(thing.uid)..").")endif getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 thentable.insert(str, "\nItemID: ["..thing.itemid.."]")local pos = getThingPos(thing.uid)table.insert(str, "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]")enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseelseif getItemAttribute(thing.uid, "unique") thenlocal p = getThingPos(thing.uid)table.insert(str, "You see ")if thing.type > 1 thentable.insert(str, thing.type.." "..iname.plural..".")elsetable.insert(str, iname.article.." "..iname.name..".")endtable.insert(str, " It's an unique item.\n"..iname.description)if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 thentable.insert(str, "\nItemID: ["..thing.itemid.."]")table.insert(str, "\nPosition: ["..p.x.."]["..p.y.."]["..p.z.."]")endsendMsgToPlayer(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseelsereturn trueendendlocal npcname = getCreatureName(thing.uid)if ehNPC(thing.uid) and NPCBattle[npcname] then --npcs dueltable.insert(str, "You see "..npcname..". "..NPCBattle[npcname].artig.." leader of the gym from "..NPCBattle[npcname].cidbat..".")doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseendif getPlayerStorageValue(thing.uid, 697548) ~= -1 thentable.insert(str, getPlayerStorageValue(thing.uid, 697548))local pos = getThingPos(thing.uid)if youAre[getPlayerGroupId(cid)] thentable.insert(str, "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]")enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseendif not isPlayer(thing.uid) and not isMonster(thing.uid) then --outros npcstable.insert(str, "You see "..getCreatureName(thing.uid)..".")doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseendif isPlayer(thing.uid) then --playerdoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, getPlayerDesc(cid, thing.uid, false))return falseendif getCreatureName(thing.uid) == "Evolution" then return false endif not isSummon(thing.uid) then --monstrostable.insert(str, "You see a wild "..string.lower(getCreatureName(thing.uid))..".\n")table.insert(str, "Hit Points: "..getCreatureHealth(thing.uid).." / "..getCreatureMaxHealth(thing.uid)..".\n")if getPokemonGender(thing.uid) == SEX_MALE thentable.insert(str, "It is male.")elseif getPokemonGender(thing.uid) == SEX_FEMALE thentable.insert(str, "It is female.")elsetable.insert(str, "It is genderless.")enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))return falseelseif isSummon(thing.uid) and not isPlayer(thing.uid) then --summonslocal boostlevel = getItemAttribute(getPlayerSlotItem(getCreatureMaster(thing.uid), 8).uid, "boost") or 0if getCreatureMaster(thing.uid) == cid thenlocal myball = getPlayerSlotItem(cid, 8).uidtable.insert(str, "You see your "..string.lower(getCreatureName(thing.uid))..".")if boostlevel > 0 thentable.insert(str, "\nBoost level: +"..boostlevel..".")endtable.insert(str, "\nHit points: "..getCreatureHealth(thing.uid).."/"..getCreatureMaxHealth(thing.uid)..".")table.insert(str, "\n"..getPokemonHappinessDescription(thing.uid))doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))elsedoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see a "..string.lower(getCreatureName(thing.uid))..".\nIt belongs to "..getCreatureName(getCreatureMaster(thing.uid))..".")endreturn falseendreturn trueend