View Single Post
  #19  
Old 06-29-2003, 09:22 PM
KainM0rbid KainM0rbid is offline
Registered User
Join Date: Jun 2003
Location: Centreville, VA. U.S.A.
Posts: 4
KainM0rbid is on a distinguished road
Send a message via AIM to KainM0rbid
If you look in newfeatures2003.txt you will notice there is a nice new handy variable added called textwidth
so instead of using strlen() I would suggest using textwidth
NPC Code:

textwidth(size,font,style,text)


Makes things easier and more accurate than guessing a formula to get the width of your text

---Kain Morbid
__________________
"...and God said let there be Graal,
and there was Graal."
~Me
Reply With Quote