0346
Jump to navigation
Jump to search
- Description
- Sets the color of the background of the text
- Syntax
- 0346: set_text_draw_background_color [int1] [int2] [int3] [int4]
- Parameter
- [int1]
- Red, between 0 and 255
- [int2]
- Green, between 0 and 255
- [int3]
- Blue, between 0 and 255
- [int4]
- Alpha, between 0 and 255
This opcode sets the color of the background of the text, which only has an effect when text background is switched on. The default color of the background has the RGBA color of (128,128,128,128) (or #80808080 in hexadecimal, ⬛). The lead image on this page shows text displayed in GTA III. The colors in order of descent are default color and opacity, red with full opacity, yellow with full opacity, and yellow with half opacity.
Keywords
set, draw, text, box, background, color, colour