Platin Posted May 28, 2021 Posted May 28, 2021 Is there a way to make the text on a label change its colour mid sentece? For example: "This is a !{#FF0000}test." should be displayed as This is a test. I can't find a way to do this in C# using the serverside labels, is it possible?
MarcoQ Posted May 28, 2021 Posted May 28, 2021 7 hours ago, Platin said: Is there a way to make the text on a label change its colour mid sentece? For example: "This is a !{#FF0000}test." should be displayed as This is a test. I can't find a way to do this in C# using the serverside labels, is it possible? !{#2c3e50}This is a !{#FF0000}test.
Platin Posted May 28, 2021 Author Posted May 28, 2021 12 hours ago, MarcoQ said: !{#2c3e50}This is a !{#FF0000}test. Thanks for the response, sadly this does not work. NAPI.TextLabel.CreateTextLabel("!{#2c3e50}" + t.Nombre + "\n!{#32FF32}something| !{#FF3232}something2", t.Posicion, 4f, 1f, 0, new Color(255, 255, 255, 255), false);
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now