Difference between revisions of "DISPLAY TEXT WITH LITERAL STRING"

From GTAMods Wiki
Jump to navigation Jump to search
m (Fix parameters)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
|p2d=y pos
 
|p2d=y pos
 
|p3t=string
 
|p3t=string
|p3d=Unkown, always "STRING"
+
|p3d=gxt entry
 
|p4t=string
 
|p4t=string
|p4d=string to print/draw
+
|p4d=string to substitute
 
|r=0
 
|r=0
 
}}
 
}}
  
Draws a the string in parameter 3 to the screen at (x, y).
+
Draws gxt entry with the literal string (4th parameter) at coordinates x, y.
 +
 
 +
"~e~" in the gxt text will be replaced with the string. Use "STRING" or ("PZ_STRING") gxt entry (which is just "~e~") to just display the literal string.

Latest revision as of 08:54, 30 June 2020

DISPLAY_TEXT_WITH_LITERAL_STRING
Number of parameters: 4
Parameter #TypeDescription
1.floatx pos
2.floaty pos
3.stringgxt entry
4.stringstring to substitute
Return value:
TypeDescription
None

Draws gxt entry with the literal string (4th parameter) at coordinates x, y.

"~e~" in the gxt text will be replaced with the string. Use "STRING" or ("PZ_STRING") gxt entry (which is just "~e~") to just display the literal string.