From DarkRP
Jump to navigation Jump to search
Function name DarkRP.getPhrase(string key, vararg Phrase parameters)
Get a phrase from the selected language.
Returns: string phrase
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=]DarkRP.getPhrase[/url][/b]

Function parameters[edit]

  1. key (string)
  2. The name of the translated phrase.

  3. Phrase parameters (vararg)
  4. Some phrases need extra information, like in "PLAYERNAME just won the lottery!". Not filling in the phrase parameters will cause errors.

Function return values[edit]

  1. phrase (string)
  2. The formatted phrase.