justalemon / PlayerCompanion

Mod for GTA V that adds some extra features for Addon Peds and the Player Characters
MIT License
12 stars 1 forks source link

Use the game's defined colors for the Money #15

Closed justalemon closed 2 years ago

justalemon commented 2 years ago

Use the colors defined in the game files instead of the bare green and red.

justalemon commented 2 years ago

Interesting, I thought the colors were defined in hudcolor.dat somewhere but they are instead hardcoded in the SET_PLAYER_CASH_CHANGE scaleform function.

The colors are, in RGBA (i think):