Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
hudtext width
6 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
@
carb0n: There's no function for that. You can write new one, but you have to make sure that nobody uses custom fonts.
![user](img/i_friend.png)
i wrote my own code and used in my lua (
![file](img/i_file.png)
![cs2d](img/icons/cs2d.png)
1
hut_width = math.floor(string.len(player_msg[i])*6)
but sometimes its not accurate
![](img/smiles/sad.gif)
![user](img/i_friend.png)
save every character size in a table like a = 4 and i = 1 etc etc
And then wake up and realize not everyone uses the same font.
![user](img/i_friend.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
save every character size in a table like a = 4 and i = 1 etc etc
And then wake up and realize not everyone uses the same font.
tell they to use default font or ban they
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)