function onSay(cid, words, param, channel)
param = param or ""
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
doShowTextDialog(cid, 2175, "Informações Pessoais\n" ..
"\nNome: " .. getCreatureName(pid) ..
"\nSexo: " .. (getPlayerSex(pid) == 0 and "Feminino" or "Masculino") ..
"\nLevel: " .. getPlayerLevel(pid) ..
"\nChakra: " .. getPlayerMagLevel(pid) ..
"\nVIP: " .. (getCreatureStorage(pid, 13540) > os.time() and "Sim" or "Não") ..
"\nSaldo Bancário: " .. getPlayerBalance(pid) ..
"\nLife: " .. getCreatureHealth(pid) ..
"\nLife Max: " .. getCreatureMaxHealth(pid) ..
"\nMana: " .. getCreatureMana(pid) ..
"\nMana Max: " .. getCreatureMaxMana(pid) ..
"\n\nAtributos\n" ..
"\nTaijutsu - " .. getPlayerSkillLevel(pid, 0) ..
"\nNinjutsu - " .. getPlayerSkillLevel(pid, 1) ..
"\nGenjutsu - " .. getPlayerSkillLevel(pid, 2) ..
"\nKenjutsu - " .. getPlayerSkillLevel(pid, 3) ..
"\nDistance - " .. getPlayerSkillLevel(pid, 4) ..
"\nDefense - " .. getPlayerSkillLevel(pid, 5) ..
"\nFishing - " .. getPlayerSkillLevel(pid, 6) ..
"\n\nInformações da Tribo\n" ..
"\nNome: " .. getPlayerGuildName(pid) ..
"\nPosto: " .. getPlayerGuildRank(pid) ..
"\nNível: " .. getPlayerGuildLevel(pid))
return true
end