From DarkRP
Jump to navigation Jump to search
Function name DarkRP.addChatCommandsLanguage(string languageCode, table translations)
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: NewerShared.png
BBCode Link: [b][url=]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.