From DarkRP
Revision as of 18:48, 26 August 2020 by DarkRPWikiBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function name DarkRP.textWrap(string text, string font, number width)
Wrap a text around when reaching a certain width.
Returns: string text
Part of Library: DarkRP
Realm: NewerClient.png
BBCode Link: [b][url=]DarkRP.textWrap[/url][/b]

Function parameters[edit]

  1. text (string)
  2. The text to wrap.

  3. font (string)
  4. The font of the text.

  5. width (number)
  6. The maximum width in pixels.

Function return values[edit]

  1. text (string)
  2. The wrapped string.