Functions/DarkRP/Shared/addChatCommandsLanguage

From DarkRP
Function
Function name DarkRP.addChatCommandsLanguage(string languageCode, table translations)
Description:
Add a translation table for chat command descriptions. See darkrpmod/lua/darkrp_language/chatcommands.lua for an example.
Returns: nil
Part of Library: DarkRP
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/addChatCommandsLanguage]DarkRP.addChatCommandsLanguage[/url][/b]

Function parameters[edit]

  1. languageCode (string)
  2. The language code of the language. For English this is "en".

  3. translations (table)
  4. Key-value table with chat command strings as keys and their translation as value.


Function return values[edit]

This function does not return any value.