language.Add
From GMod Wiki
| Function | |
| Syntax |
language.Add( String placeholder, String fulltext ) Where is this used? |
| Description: | |
| Adds a language item. Language placeholders are replaced with fulltext in Garry's Mod once registered with this function. | |
| Returns: | nil |
| Part of Library: | language |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Language.Add]Language.Add [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- This function appears to not be able to discriminate on the user's selected language - that is, language placeholders filled with this function will only be able to display text in one language.
- The language placeholder should be given without the # symbol in this function.
See Also
- N/A