Ir para conteúdo

Featured Replies

Postado

Do seu OT >.< te tenho no MSN vei, ;s

te pedi a talk !online lembra? ;s

Sobre o negocio do gesior, nem sei então.. ;s não entendo sobre scripts

Sign's

Mostrar conteúdo oculto
r6z42f.png
Feito por: Anne Motta

dxo51e.png
Feito por: Mim! kk ' Primeira Sign *-*




  • Respostas 12
  • Visualizações 1.5k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Gustavo Ferreira
    Gustavo Ferreira

    Sera que é outro topico que tenho que fechar por causa de entriga envolvendo os mesmos membros? Se vocês se estranham procurem outro lugar pra se ofender, menos em topicos!

  • por causa de um script online tu xinga minha empresa em todos os lugares? toma no cu toma essa bosta desse script.

Postado
  • Autor

por causa de um script online tu xinga minha empresa em todos os lugares? toma no cu toma essa bosta desse script.

  Citar
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 no servidor")

for i, str in ipairs(strings) do

if(str:sub(str:len()) ~= ",") then

str = str .. "."

end

end

return TRUE

end

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo