045A

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City San Andreas DISPLAY_TEXT_WITH_NUMBER


Description
Displays text with one number on the screen
Syntax
045A: text_draw_1number [flt1] [flt2] '[string]' [int]
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
[int]
Number which replaces the first GXT string token ~1~

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

Keywords

display, draw, text, 1number, one, number