Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:UnloadStringTable

From RoR Wiki
Revision as of 19:51, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 (its luaTableName argument) 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" )

See also