Jump to content
Sign in to follow this  

Mudar Cor Do Gold No Inventario

Recommended Posts

Deverá ser algo assim no uiinventory.py, na def RefreshStatus


def RefreshStatus(self):


money = player.GetElk()

if money <= 1000000:

self.wndMoney.SetFontColor(122, 231, 93)

elif money >= 1000001 and money <= 10000000:

self.wndMoney.SetFontColor(255, 215, 76)

elif money >= 10000001:

self.wndMoney.SetFontColor(128, 192, 255)



Podes adicionar novos elif para outros valores, sendo que a cor é este código:


self.wndMoney.SetFontColor(128, 192, 255)


As cores estão em RGB.


Por exemplo:

Please login or register to see this link.

  • Upvote 1

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.