API:UnloadStringTable
From RoR Wiki
UI Lua API · StringTable functions
Version: WAR 1.4.8
Unloads a string table that was loaded with LoadStringTable.
UnloadStringTable(tableName)
Arguments
- tableName
string– Name the table was registered under.
Returns
Nothing.
Details
- The table is removed from the client's list of string tables. Its strings can no longer be looked up, and the name can be used again by LoadStringTable.
- The Lua table filled by
LoadStringTable(itsluaTableNameargument) is not cleared. - Exactly one argument must be passed.
Errors
Error in function call 'UnloadStringTable': String Table %s does not exist.
Example
From interfacecore/interfacecore.lua:
UnloadStringTable( "Hardcoded" ) UnloadStringTable( "AuthorizationError" ) UnloadStringTable( "ServerLocation" ) UnloadStringTable( "ServerLanguage" ) UnloadStringTable( "Pregame" )
