Postado Janeiro 23, 2015 10 anos Então Galera, gostaria de um ajuda de Voces meus Tibiakinianos Favoritos... Entao é Seguinte meu GOD, quando fala no Help ele fala em laranja. so que queria mudar isso... Tipo Tutores Cms e Gods Tao falando em Laranja dai Fica estranho Queria ajuda para arrumar isso. Porfavor me Ajude Rep + Editado Janeiro 27, 2015 10 anos por Matador18 (veja o histórico de edições)
Postado Janeiro 23, 2015 10 anos Em \data\chatchannels\scripts Substitua seu HELP.LUA POR local CHANNEL_HELP = 7local muted = createConditionObject(CONDITION_CHANNELMUTEDTICKS)setConditionParam(muted, CONDITION_PARAM_SUBID, CHANNEL_HELP)setConditionParam(muted, CONDITION_PARAM_TICKS, 3600000)function onSpeak(cid, type, message)local playerAccountType = Player(cid):getAccountType()if(Player(cid):getLevel() == 1 and playerAccountType == ACCOUNT_TYPE_NORMAL) thenPlayer(cid):sendCancelMessage("You may not speak into channels as long as you are on level 1.")return falseendif(getCreatureCondition(cid, CONDITION_CHANNELMUTEDTICKS, CHANNEL_HELP)) thenPlayer(cid):sendCancelMessage("You are muted from the Help channel for using it inappropriately.")return falseendif(playerAccountType >= ACCOUNT_TYPE_TUTOR) thenif(string.sub(message, 1, 6) == "!mute ") thenlocal targetName = string.sub(message, 7)local target = Player(name):getId(targetName) if(target ~= false) thenif(playerAccountType > target:getAccountType()) then if(not getCreatureCondition(target, CONDITION_CHANNELMUTEDTICKS, CHANNEL_HELP)) thendoAddCondition(target, muted)sendChannelMessage(CHANNEL_HELP, TALKTYPE_CHANNEL_R1, getPlayerName(target) .. " has been muted by " .. getPlayerName(cid) .. " for using Help Channel inappropriately.")elsePlayer(cid):sendCancelMessage("That player is already muted.")endelsePlayer(cid):sendCancelMessage("You are not authorized to mute that player.")endelsePlayer(cid):sendCancelMessage(RETURNVALUE_PLAYERWITHTHISNAMEISNOTONLINE)endreturn falseelseif(string.sub(message, 1, 8) == "!unmute ") thenlocal targetName = string.sub(message, 9)local target = Player(name):getId(targetName)if(target ~= false) thenif(playerAccountType > getPlayerAccountType(target)) thenif(getCreatureCondition(target, CONDITION_CHANNELMUTEDTICKS, CHANNEL_HELP)) thendoRemoveCondition(target, CONDITION_CHANNELMUTEDTICKS, CHANNEL_HELP)sendChannelMessage(CHANNEL_HELP, TALKTYPE_CHANNEL_R1, getPlayerName(target) .. " has been unmuted by " .. getPlayerName(cid) .. ".")elsePlayer(cid):sendCancelMessage("That player is not muted.")endelsePlayer(cid):sendCancelMessage("You are not authorized to unmute that player.")endelsePlayer(cid):sendCancelMessage(RETURNVALUE_PLAYERWITHTHISNAMEISNOTONLINE)endreturn falseendendif(type == TALKTYPE_CHANNEL_Y) thenif(playerAccountType >= ACCOUNT_TYPE_TUTOR or getPlayerFlagValue(cid, PlayerFlag_TalkOrangeHelpChannel)) thentype = TALKTYPE_CHANNEL_Oendelseif(type == TALKTYPE_CHANNEL_O) thenif(playerAccountType < ACCOUNT_TYPE_TUTOR and not getPlayerFlagValue(cid, PlayerFlag_TalkOrangeHelpChannel)) thentype = TALKTYPE_CHANNEL_Yendelseif(type == TALKTYPE_CHANNEL_R1) thenif(playerAccountType < ACCOUNT_TYPE_GAMEMASTER and not getPlayerFlagValue(cid, PlayerFlag_CanTalkRedChannel)) thenif(playerAccountType >= ACCOUNT_TYPE_TUTOR or getPlayerFlagValue(cid, PlayerFlag_TalkOrangeHelpChannel)) thentype = TALKTYPE_CHANNEL_Oelsetype = TALKTYPE_CHANNEL_Yendendendreturn typeend peguei deste tópico : http://www.tibiaking.com/forum/topic/37076-duvida-como-fazer-god-falar-vermelho-no-help/ Procure sempre antes de criar tópico desnecessário
Postado Janeiro 23, 2015 10 anos Autor Royal, no meu Server nao tem essa Pasta por isso Postei, e ja tinha visto esse como nao resolveu meu Problema postei Novamente... E nao Jugue sem Saber se Procurei ou nao : P Editado Janeiro 27, 2015 10 anos por Matador18 (veja o histórico de edições)
Postado Janeiro 28, 2015 10 anos O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → Geral" Para: "OTServ → Suporte OTServ → Suporte de Scripts" Ajudei = REP+ Não dou suporte por PM qualquer dúvida procure no fórum,caso não encontre oque procura crie um tópico. [email protected]" /> | TFS 0.4 DEV | %5Bcreaturescript%5D Icones no minimap com descrição%5Btalkaction%5D Adicionar ou remover VIP do player.%5Bcreaturescripts%5D Senha para porta%5Btalkaction%5D Mandar mensagem para pasta do servidorMapa Evento War Castle%5Baction%5D Canoa em MovimentoTeleport Scroll System%5Bcreaturescripts%5D Recompensa por level para X vocations%5Btalkaction%5D Adicionar X item para o player%5Btalkactions%5D Adicionar item para todos players online%5Baction%5D Item que teleporta o player para house[action+movement] Passaporte para entrar no barco
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.