// Description
Using this library you are able to get string width. Handy for the scripts that are using hudtxt command!
// Notes
![•](img/dot.gif)
![•](img/dot.gif)
![×](img/x.gif)
// Functions
![>](img/i_next.png)
![>](img/i_next.png)
![>](img/i_next.png)
// Sample
1
2
3
4
5
2
3
4
5
dofile("sys/lua/imageFont.lua") imageFont.Load('sys/lua/font.dat') print(textwidth("hello world"))
edited 12×, last 05.12.17 07:41:58 pm
Approved by Infinite Rain
Download
25 kb, 587 Downloads