Forum
CS2D Scripts hudtext widthhudtext width
6 replies 1
Gaios has written
@ carb0n: There's no function for that. You can write new one, but you have to make sure that nobody uses custom fonts.
i wrote my own code and used in my lua ( Crb => Revolution in Cs2d messaging (Motop) v1.0.3 (9)) :
1
hut_width = math.floor(string.len(player_msg[i])*6)
but sometimes its not accurate
Waldin has written
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.
Yates has written
And then wake up and realize not everyone uses the same font.
Waldin has written
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
1