045B

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas DISPLAY_TEXT_WITH_2_NUMBERS


Description
Displays text with two numbers on the screen
Syntax
045B: text_draw_2numbers [flt1] [flt2] '[string]' [int1] [int2]
Parameter
[flt1]
X-position from the left side of the screen, visible between 0.0 and 640.0
[flt2]
Y-position from the top side of the screen, visible between 0.0 and 448.0
[string]
GXT key
[int1]
Number which replaces the first GXT string token ~1~
[int2]
Number which replaces the second GXT string token ~1~

This opcode displays text at any position on the screen, behaving almost like opcode 033E but includes two numbers that can dynamically change. This opcode was never called in the original script of GTA III.

Keywords

display, draw, text, 2numbers, two, number