Functions/DarkRP/Shared/addChatCommandsLanguage
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]
- languageCode (string)
- translations (table)
The language code of the language. For English this is "en".
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.