Functions/DarkRP/Client/textWrap

Function
Function name DarkRP.textWrap(string text, string font, number width)
Description:
Wrap a text around when reaching a certain width.
Returns: string text
Part of Library: DarkRP
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Client/textWrap]DarkRP.textWrap[/url][/b]

Function parametersEdit

  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 valuesEdit

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