Difference between revisions of "033E"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
 
This draws a text on the screen and can be positioned anywhere on the screen. The float values are X and Y positions of the text in pixels on a 640 by 480 screen. On larger resolutions, the positions will be scaled. I didn't test how would a widescreen will affect this. This opcode requires [[03F0]] to enable in order for the text to be drawn.
 
This draws a text on the screen and can be positioned anywhere on the screen. The float values are X and Y positions of the text in pixels on a 640 by 480 screen. On larger resolutions, the positions will be scaled. I didn't test how would a widescreen will affect this. This opcode requires [[03F0]] to enable in order for the text to be drawn.
  
http://img.photobucket.com/albums/v41/spaceeinstein/033E.png
+
[[Image:033E.png|none|Text draw]]
  
 
Note: Don't use 0.0 as a position or you would get a black shadow as shown above. Any value greater than 0 would work fine.
 
Note: Don't use 0.0 as a position or you would get a black shadow as shown above. Any value greater than 0 would work fine.

Revision as of 03:17, 6 November 2008

033E=3,%1d% %2d% %3g%
Description: Draws a text on the screen
Parameter 1: Float (X-position in pixels)
Parameter 2: Float (Y-position in pixels)
Parameter 3: GXT string
Supports: GTA3, Vice City, San Andreas

This draws a text on the screen and can be positioned anywhere on the screen. The float values are X and Y positions of the text in pixels on a 640 by 480 screen. On larger resolutions, the positions will be scaled. I didn't test how would a widescreen will affect this. This opcode requires 03F0 to enable in order for the text to be drawn.

Text draw

Note: Don't use 0.0 as a position or you would get a black shadow as shown above. Any value greater than 0 would work fine.

Keywords

draw, text