Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado
  • Autor

Qual a versão do seu TFS?

 

Entra em XML > Commands.xml e coloca aqui pra mim ver.

Onde que vê a versão do TFS?

Não tem o Arquivo "Commands.xml

 

:(

xml : <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/>

 

SCRIPT:

local reloadInfo = {

{RELOAD_ACTIONS, "actions", "action"},

{RELOAD_CHAT, "chat", "channels"},

{RELOAD_CONFIG, "config", "configuration"},

{RELOAD_CREATUREEVENTS, "creatureevents", "creature events", "creaturescripts", "creature scripts", "creatureevent", "creature event", "creature script", "creaturescript"},

{RELOAD_GAMESERVERS, "gameservers", "game servers", "servers"},

{RELOAD_GLOBALEVENTS, "globalevents", "global events", "globalevent", "global event"},

{RELOAD_GROUPS, "groups", "playergroups", "group"},

{RELOAD_HIGHSCORES, "highscores", "scores", "highscore", "score"},

{RELOAD_HOUSEPRICES, "houseprices", "house prices", "prices"},

{RELOAD_ITEMS, "items", "item"},

{RELOAD_MONSTERS, "monsters", "monster"},

{RELOAD_MOVEEVENTS, "moveevents", "move events", "movements", "move", "movement"},

{RELOAD_NPCS, "npcs", "npc"},

{RELOAD_OUTFITS, "outfits", "outfit"},

{RELOAD_QUESTS, "quests", "quest"},

{RELOAD_RAIDS, "raids", "raid"},

{RELOAD_SPELLS, "spells", "spell"},

{RELOAD_STAGES, "stages", "experience"},

{RELOAD_TALKACTIONS, "talkactions", "talk actions", "talk", "commands", "talkaction", "talk action"},

{RELOAD_VOCATIONS, "vocations", "vocation"},

{RELOAD_WEAPONS, "weapons", "weapon"},

{RELOAD_MODS, "mods", "modifications"},

{RELOAD_ALL, "all", "everything"}

}

function onSay(cid, words, param, channel)

if(param == '') then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")

return true

end

param = param:lower()

local str = "Reload type not found."

for _, v in ipairs(reloadInfo) do

if(table.isStrIn(param, v)) then

doReloadInfo(v[1], cid)

str = "Reloading " .. v[2] .. "..."

break

end

end

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str)

return true

end

Isso ai da reload em all ou só em uma determinada coisa?

Meus Contatos!

 

Minhas Funções:

 

               Skype: TsplayerT

         Facebook: TakaFukushii

          YouTube: ADoseDupla

           Twitter: @_Splayer_

 

 

 

 

 

 

 

                             Mapper:▓▓▓▓▓▓▓▓▓▓ 97%

     Programmer:▓▓▓▓▓▒▒▒▒▒ 45%

             Scripter:▓▓▓▓▓▓▓▓▓▒ 83%

              Spriter:▓▓▓▓▓▓▒▒▒▒ 57%

    Gamemaster:▓▓▓▓▓▓▓▓▓▓ 99%

        Ot Creator:▓▓▓▓▓▓▓▒▒▒71%

Ot Client Maker:▓▓▓▓▓▓▓▒▒▒74%

 

  • Respostas 8
  • Visualizações 2.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • xml : <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/>   SCRIPT:

Postado

funciona todas as Reloads do Server :

local reloadInfo = {
{RELOAD_ACTIONS, "actions", "action"},
{RELOAD_CHAT, "chat", "channels"},
{RELOAD_CONFIG, "config", "configuration"},
{RELOAD_CREATUREEVENTS, "creatureevents", "creature events", "creaturescripts", "creature scripts", "creatureevent", "creature event", "creature script", "creaturescript"},
{RELOAD_GAMESERVERS, "gameservers", "game servers", "servers"},
{RELOAD_GLOBALEVENTS, "globalevents", "global events", "globalevent", "global event"},
{RELOAD_GROUPS, "groups", "playergroups", "group"},
{RELOAD_HIGHSCORES, "highscores", "scores", "highscore", "score"},
{RELOAD_HOUSEPRICES, "houseprices", "house prices", "prices"},
{RELOAD_ITEMS, "items", "item"},
{RELOAD_MONSTERS, "monsters", "monster"},
{RELOAD_MOVEEVENTS, "moveevents", "move events", "movements", "move", "movement"},
{RELOAD_NPCS, "npcs", "npc"},
{RELOAD_OUTFITS, "outfits", "outfit"},
{RELOAD_QUESTS, "quests", "quest"},
{RELOAD_RAIDS, "raids", "raid"},
{RELOAD_SPELLS, "spells", "spell"},
{RELOAD_STAGES, "stages", "experience"},
{RELOAD_TALKACTIONS, "talkactions", "talk actions", "talk", "commands", "talkaction", "talk action"},
{RELOAD_VOCATIONS, "vocations", "vocation"},
{RELOAD_WEAPONS, "weapons", "weapon"},
{RELOAD_MODS, "mods", "modifications"},
{RELOAD_ALL, "all", "everything"}
}


 

 

Postado

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: "OTServDownloadsServidores Derivados"

Para: "OTServSuporte OTServSuporte de OTServ Geral"


spacer.png

 

 

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.6k

Informação Importante

Confirmação de Termo