Difference between revisions of "DISPLAY TEXT WITH LITERAL STRING"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=4 |p1t=float |p1d=x pos |p2t=float |p2d=y pos |p3t=string |p3d=gxt entry |p4t=string |p4d=additional string |r=0 }} Draw GXT-Entry Text with additional string.)
 
m (Fix parameters)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
|p3d=gxt entry
 
|p3d=gxt entry
 
|p4t=string
 
|p4t=string
|p4d=additional string
+
|p4d=string to substitute
 
|r=0
 
|r=0
 
}}
 
}}
  
Draw GXT-Entry Text with additional string.
+
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.