Client side. If I remember I believe the M for million is near the top of client.java. not positive though.
|
How can I make my item amount text change from color if it's above 999 and above 999999?
I have looked everywhere, but I couldn't find it and I don't even know if it's in the client or server, I think in the server.
Client sided.
drawInterface method
Search for intToKOrMil
Should see something like this:
0xFFFFFF is the colorCode:smallText.method385(0xFFFFFF, intToKOrMil(k10), j6 + 9 + j7, k5 + k6);
k10 is the amount of the stacked item
so you'd probably do like
Code:if (k10 > 999 && k10 < 100000) { smallText.method385(some color, intToKOrMil(k10), j6 + 9 + j7, k5 + k6); } else if (k10 > 999999 && k10 < 10000000) { smallText.method385(some other color, intToKOrMil(k10), j6 + 9 + j7, k5 + k6); }
Bump
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |