Need some help with formating echoes to a label.
Posted: Wed Jul 21, 2021 3:13 am
I'm curious if I can format my text in a very particular way.
For instance (and I know it's not done this way but just for an idea of what I'm trying to achieve here) "<white>Name: <red> ..fullname"
I'd like to know if it's possible to modify each of these individually. I've been looking through the Geyser labels and what not but everything I've tried so far has only resulted in being able to format a single line in the same way.
For instance (and I know it's not done this way but just for an idea of what I'm trying to achieve here) "<white>Name: <red> ..fullname"
I'd like to know if it's possible to modify each of these individually. I've been looking through the Geyser labels and what not but everything I've tried so far has only resulted in being able to format a single line in the same way.
Code: Select all
GUI.Stats = Geyser.Label:new({
name = "GUI.Stats",
x = "0%", y = "0%",
width = "100%",
height = "25%",
},GUI.Left)
GUI.Stats:setStyleSheet(GUI.BoxCSS:getCSS())
local character_stats = {
"Name " ..fullname,
"Gold " ..allgold,
"Undecided "
}
GUI.Stats:echo( table.concat( character_stats, "<br>" ) )