From DarkRP
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.