A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.
+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.


info
Grupo: Campones
Registrado: 19/06/12
Posts: 89
Reputação: +5
Uso esse seguinte sistema para informações de players.
function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") return true end local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)} local pos = getCreaturePosition(pid) doPlayerPopupFYI(cid, "Character Information\n_______________________________\n" .. "\nName: "..getCreatureName(pid).. "\nSex: "..(getPlayerSex(pid) == 0 and "female" or "Male").. "\nVocation: "..getVocationInfo(getPlayerVocation(pid)).name.. "\nLevel: "..getPlayerLevel(pid).. "\nAchievement Points: "..getCreatureStorage(pid, 15200).. "\nReputation Points: "..getCreatureStorage(pid, 102086).. "\nResidence: "..getPlayerTown(pid).. "\nGuild membership: "..getPlayerGuildRank(pid) .."".. getPlayerGuildName(pid).. "\nAccount Status: "..(isPremium(pid) and "Premium Account" or "Free Account").. "\n\nMagic: "..getPlayerMagLevel(pid).. "\nFist: "..getPlayerSkillLevel(pid, SKILL_FIST).. "\nClub: "..getPlayerSkillLevel(pid, SKILL_CLUB).. "\nSword: "..getPlayerSkillLevel(pid, SKILL_SWORD).. "\nAxe: "..getPlayerSkillLevel(pid, SKILL_AXE).. "\nDistance: "..getPlayerSkillLevel(pid, SKILL_DISTANCE).. "\nShield: "..getPlayerSkillLevel(pid, SKILL_SHIELD).. "\nFish: "..getPlayerSkillLevel(pid, SKILL_FISHING)) return true endele funciona normalmente, porém nessa linha...
...ele mostra o numero do town id.
Ex: thais id:1. venore id:2, thais id:3 etc...
Se o cara for de venore, não irá mostrar Residence: venore. Ele mostra Residence: 2.
Preciso colocar nomes, não números no Residence:
Agradeço por ler.