djharbi2 Posted August 5, 2018 Share Posted August 5, 2018 Is it possible to use color codes like "#00FF00" with guiSetText and guiLabelSetColor functions? It seems that I can't use these codes to make my text in gui-label two-colored. Link to comment
xMKHx Posted August 5, 2018 Share Posted August 5, 2018 may this help you https://wiki.multitheftauto.com/wiki/RGBToHex Link to comment
djharbi2 Posted August 5, 2018 Author Share Posted August 5, 2018 No, I do not think so Link to comment
SycroX Posted August 5, 2018 Share Posted August 5, 2018 41 minutes ago, djharbi2 said: It seems that I can't use these codes to make my text in gui-label two-colored. yes you can't Link to comment
djharbi2 Posted August 5, 2018 Author Share Posted August 5, 2018 3 minutes ago, #َxLysandeR said: yes you can't do you have an idea about this topic Link to comment
Scripting Moderators thisdp Posted August 5, 2018 Scripting Moderators Share Posted August 5, 2018 dgsLabel = dgsCreateLabel(100,100,200,10,"#00FFFFHello #FF0000World",false) dgsSetProperty(dgsLabel,"colorcoded",true) Before this, you need to be a user of DGS 1 Link to comment
SycroX Posted August 5, 2018 Share Posted August 5, 2018 (edited) @djharbi2 sorry bro but i can't help you i think there's not way to do it unless you make 2 labels not one Edited August 5, 2018 by #َxLysandeR Link to comment
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