Postado Maio 22, 2013 12 anos Olá ,bom dia.. Gostaria do comando !online aparecendo os players e os leveis online deles.. E o meu servidor é o Hollister e ele veio com algum script sei la, que TODOS os jogadores do OT, tipo de 5s em 5s fica subindo um "dano" sem dano de trap de raio nos players.... como eu tiro isso?? ME AJUUUUUDEM!
Postado Maio 22, 2013 12 anos Esse do dano de raio é da vip, quer dizer que o cara é vip, quando acabar a vip ele vai parar de soltar Quanto ao script do online vá em talkactions/scripts e abra o arquivo online.lua e substitua tudo que tá dentro por isso 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 Depois ou reinicie o otserver, ou fale dentro do god /reload talkactions
Postado Maio 22, 2013 12 anos Autor Esse do dano de raio é da vip, quer dizer que o cara é vip, quando acabar a vip ele vai parar de soltar Quanto ao script do online vá em talkactions/scripts e abra o arquivo online.lua e substitua tudo que tá dentro por isso 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 Depois ou reinicie o otserver, ou fale dentro do god e como eu tiro esse raio? eu não queria isso! mas REP + pelo escript ONLINE! obrigado
Postado Maio 22, 2013 12 anos tipo eu falei errado, eu tenho o server aqui eu achei esse efeito em outro script, porém não da pra tirar o efeito da pra trocar escolhe um desses pra ficar aparecendo, sim é obrigatorio pro bem do seu server
Postado Maio 22, 2013 12 anos Autor tipo eu falei errado, eu tenho o server aqui eu achei esse efeito em outro script, porém não da pra tirar o efeito da pra trocar escolhe um desses pra ficar aparecendo, sim é obrigatorio pro bem do seu server Po, mas se o cara botou como não da pra tirar? Como eu troco? se n dar pra tirar quero por um bem discreto.
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.