• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua TFS 1.0 reload

iSanto

Well-Known Member
Joined
Sep 20, 2011
Messages
157
Reaction score
65
Is possible to reload global.lua from a lua script? Is a function to it?
 
No there is no function for it, you could create one using config.lua as a template.

Edit:
Found this:
Code:
    } else if (tmpParam == "global") {
        g_luaEnvironment.loadFile("data/global.lua");
        player.sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Reloaded global.lua.");

Try /reload global
 
Back
Top