Functions/DarkRP/Shared/addPhrase
Function | |
Function name | DarkRP.addPhrase(string Language name, string key, string translation) |
Description: | |
Add a phrase to the existing translation. | |
Returns: | nil |
Part of Library: | DarkRP |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/addPhrase]DarkRP.addPhrase[/url][/b] |
Function parameters[edit]
- Language name (string)
- key (string)
- translation (string)
The short name of the language ("en" is English). Make sure the language name fits a possible value for gmod_language!
The name of the translated phrase.
The translation of the phrase.
Function return values[edit]
This function does not return any value.