
06-11-2008, 12:49 PM
|
|
the fake one
|
 |
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
|
|
Quote:
Originally Posted by Tolnaftate2004
PHP Code:
font = "verdana"; style = ""; fontsize = $pref::graal::defaultfontsize/gettextheight(1,font,style); tokens = wraptext2(40,fontsize," ",font @ "@" @ style @ "@" @ player.chat);
This will most accurately split at words and fit into your space. $pref::graal::defaultfontsize is a placeholder for the height in pixels of how tall you want the text to be. Change to your liking.
|
That should work. |
|
|
|