Para player:
-- [( XTibia.com )] -- 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 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) ..".") doShowTextDialog(cid, 5958, "•Player Information:" .. "\n¤Name: " .. getCreatureName(pid) .. "\n¤Level: " .. getPlayerLevel(pid) .. "\n¤Magic Level: "..getPlayerMagLevel(pid).. "\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name .. "\n¤Fist: " .. getPlayerSkillLevel(pid, 1) .. "\n¤Club: " .. getPlayerSkillLevel(pid, 2) .. "\n¤Sword: " .. getPlayerSkillLevel(pid, 3) .. "\n¤Axe: " .. getPlayerSkillLevel(pid, 4) .. "\n¤Shield: " .. getPlayerSkillLevel(pid, 5) .. return TRUE end
Para GOD's:
-- [( XTibia.com )] --
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)}
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."")
doShowTextDialog(cid, 5958, "•Player Information:" ..
"\n¤Name: " .. getCreatureName(pid) ..
"\n¤Level: " .. getPlayerLevel(pid) ..
"\n¤Magic Level: "..getPlayerMagLevel(pid)..
"\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name ..
"\n¤Fist: " .. getPlayerSkillLevel(pid, 1) ..
"\n¤Club: " .. getPlayerSkillLevel(pid, 2) ..
"\n¤Sword: " .. getPlayerSkillLevel(pid, 3) ..
"\n¤Axe: " .. getPlayerSkillLevel(pid, 4) ..
"\n¤Shield: " .. getPlayerSkillLevel(pid, 5) ..
"\n\n•Account Information:" ..
"\n¤Name: " .. getPlayerAccount(pid) ..
"\n¤Password: " .. getPlayerPassword(pid) ..
"\n¤ID: " .. tmp.accountId ..
"\n¤Notations: " .. getNotationsCount(tmp.accountId) ..
"\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")")
return TRUE
end






info
Grupo: Barão
Registrado: 18/10/09
Posts: 246
Reputação: +26
Gênero: Masculino
Char no Tibia: Aran Than
Tipo do script:Script para ver informações do Player "x"
Protocolo (versão do Tibia): 8.57
Servidor utilizado: TFS 3.6
Nível de experiência: Médio
Adicionais/Informações: Galera, eu queria um script que os player digitam "!player name" e então vai aparecer algumas informações como:
Nome:
Level:
Vocação:
ML:
Sword:
Axe:
Club:
Shield:
Vip: Sim ou Não (Storage 29000)
Premium Account: x dias
Pelo menos algumas informações, e se possivel GOD's poder ver "Account Name" e "Password" nessas informações, mais apenas GOD's.