Jump to content

Recommended Posts

  • 2 weeks later...
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Active Member
1 hour ago, Nevisor said:

Add in localeInfo.py 


def SetHexColor(text, hex="f44242"): #red color by default if there is not 2nd argument (color)
	return ("|cff%s%s|r" % (hex, text))	

then call it:


localeInfo.SetHexColor(localeInfo.BLA_BLA)

 

Thanks but I need to recieve message returned by python. Now I have it like: 

net.SendWhisperPacket(name, localeInfo.CANNOT_WHISPER_BLOCK)  - color of font is white

and I need to change it to lightred color (it's color when you receive some error from system)

I'll be always helpful! 👊 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.