0347

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

GTA III SET_TEXT_BACKGROUND_ONLY_TEXT


Description
Sets the background of the text to enclose centered text
Syntax
0347: set_text_draw_background_only_text [int]
Parameter
[int]
0 = not enclosed (default), 1 = enclosed

This opcode sets the background of the text to enclose centered text, which only has an effect when text is centered and text background is switched on. This opcode was never called in the original script of GTA III. The lead image on this page shows text displayed in GTA III. The first line is the default text behavior without centering and background. The second line includes both centering and background, which stretches the background to a length of 640.0. The third line includes this opcode, which causes the background to enclose only the centered text.

Keywords

set, draw, text, box, background, only