View Single Post
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 03-03-2020 , 05:31   Re: DHUD empty spaces
Reply With Quote #2

In theory you could make a table containing information about each character's width (e.g. character 'i' = 0.5, 'W' = 1.5), and then add spaces according to the sum of all character spaces in a player's name. But it might depend on individual resolution, plus people may be using custom fonts for their game, so I don't think there are any good ways to achieve what you want (multicolored HUD as one continuous line of text).
__________________

Last edited by hleV; 03-03-2020 at 05:32.
hleV is offline