View previous topic :: View next topic |
Author |
Message |
q409358 How do I cheat?
Reputation: 0
Joined: 24 Sep 2020 Posts: 2
|
|
Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Mon Jul 10, 2023 6:32 am Post subject: |
|
|
You can change the background colour of the selected entry using this Lua code:
Code: |
AddressList.SelectedBackgroundColor = 0xEEEEAA
|
Experiment with different colours to achieve your desired result. Hexadecimal colours in Lua are reverse order. 0xBGR. The brightness of each colour channel is determined by the value for example, 255 (decimal)/ FF (hexadecimal) is the brightest of that particular colour channel. In typical RGB format (255,255,255) or in hexadecimal format (0xFFFFFF) is white. (0,0,0/0x000000) is black. I hope that explains a bit about how the colours work. Of course you can use a colour picker but I think it's good to understand how the colours are made. You can then mentally create the colours you want without relying on a reference image for the colour.
|
|
Back to top |
|
 |
q409358 How do I cheat?
Reputation: 0
Joined: 24 Sep 2020 Posts: 2
|
Posted: Mon Jul 10, 2023 7:27 am Post subject: |
|
|
LeFiXER wrote: | You can change the background colour of the selected entry using this Lua code: Code: | AddressList.SelectedBackgroundColor = 0xEEEEAA | Experiment with different colours to achieve your desired result. Hexadecimal colours in Lua are reverse order. 0xBGR. The brightness of each colour channel is determined by the value for example, 255 (decimal)/ FF (hexadecimal) is the brightest of that particular colour channel. In typical RGB format (255,255,255) or in hexadecimal format (0xFFFFFF) is white. (0,0,0/0x000000) is black. I hope that explains a bit about how the colours work. Of course you can use a colour picker but I think it's good to understand how the colours are made. You can then mentally create the colours you want without relying on a reference image for the colour. |
thank very much!!
|
|
Back to top |
|
 |
|