0340

From GTAMods Wiki
Jump to navigation Jump to search
0340 in action

GTA III Vice City San Andreas SET_TEXT_COLOUR


Description
Sets the color of the text
Syntax
0340: set_text_draw_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 and opacity of the text, which defaults to the RGBA color of (225,225,225,255) (or #E1E1E1FF in hexadecimal, ). The color and opacity do not affect the black text shadow beneath the text. The lead image on this page shows text displayed in Vice City. 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, intro, text, color, colour