Não entendi cara qual sua dúvida,explique melhor!?
info
Grupo: Campones
Registrado: 26/04/13
Posts: 92
Reputação: +5

info
Grupo: Barão
Registrado: 06/02/12
Posts: 207
Reputação: +1
Char no Tibia: Não lembro :(

Tipo Assim quando o Player da online mostra o nome da pessoa eo level
1 player(s) online:
Fulano level [130]. ciclano level [160] .....
info
Grupo: Campones
Registrado: 26/04/13
Posts: 92
Reputação: +5

Qual a versão do seu server?
Acho que todos os 8.4x+ tem esse sistema.
info
Grupo: Barão
Registrado: 06/02/12
Posts: 207
Reputação: +1
Char no Tibia: Não lembro :(

8.60 tem como me manda esse systema?
info
Grupo: Visconde
Registrado: 24/11/12
Posts: 474
Reputação: +98
Gênero: Masculino

Tenta Ai Amigo :
Vá em talkactions crie um arquivo lua chamado "online" é adicione o seguinte :
local config = {
showGamemasters = getBooleanFromString(getConfigValue('displayGamemastersWithOnlineCommand'))
}
function onSay(cid, words, param, channel)
local players = getPlayersOnline()
local strings = {""}
local i, position = 1, 1
local added = false
for _, pid in ipairs(players) do
if(added) then
if(i > (position * 7)) then
strings[position] = strings[position] .. ","
position = position + 1
strings[position] = ""
else
strings[position] = i == 1 and "" or strings[position] .. ", "
end
end
if((config.showGamemasters or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES) or not getPlayerCustomFlagValue(pid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) and (not isPlayerGhost(pid) or getPlayerGhostAccess(cid) >= getPlayerGhostAccess(pid))) then
strings[position] = strings[position] .. getCreatureName(pid) .. " [" .. getPlayerLevel(pid) .. "]"
i = i + 1
added = true
else
added = false
end
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, (i - 1) .. " player(s) online:")
for i, str in ipairs(strings) do
if(str:sub(str:len()) ~= ",") then
str = str .. "."
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str)
end
return true
end
Agora Adicione isso em talkactions.xml:
<talkaction words="!online" event="script" value="online.lua"/>
Abraços!
info
Grupo: Barão
Registrado: 06/02/12
Posts: 207
Reputação: +1
Char no Tibia: Não lembro :(

aiii AdilsonHacker Funfo Veey Vllw REP+![]()
info
Grupo: Visconde
Registrado: 24/11/12
Posts: 474
Reputação: +98
Gênero: Masculino

Reportado Para Que Movam !
info
Grupo: Herói
Registrado: 25/10/12
Posts: 2.4k
Reputação: +687
Gênero: Masculino
Char no Tibia: Nuncative

Movido p/ pedidos e dúvidas resolvidos.




info
Grupo: Barão
Registrado: 06/02/12
Posts: 207
Reputação: +1
Char no Tibia: Não lembro :(
Então eu queria saber o scripts que quando a pessoa da online mostra o nome eo level por exemplo
1 player(s) online:
Administrador Supremo level [150].