Difference between revisions of "045A"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|t}} | command = DISPLAY_TEXT_WITH_NUMBER | description = Displays text with one number on the screen | syntax1 =...")
 
m
 
Line 14: Line 14:
 
}}
 
}}
  
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 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 [[Main.scm|original script]] of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
display, draw, text, 1number, one, number
 
display, draw, text, 1number, one, number

Latest revision as of 04:12, 2 June 2016

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