Difference between revisions of "033E"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<code>033E=3,%1d% %2d% %3g%</code><br> | <code>033E=3,%1d% %2d% %3g%</code><br> | ||
'''Description''': Draws a text on the screen<br> | '''Description''': Draws a text on the screen<br> | ||
− | '''Parameter 1''': Float<br> | + | '''Parameter 1''': Float (X-position in pixels)<br> |
− | '''Parameter 2''': Float<br> | + | '''Parameter 2''': Float (Y-position in pixels)<br> |
'''Parameter 3''': [[GXT]] string<br> | '''Parameter 3''': [[GXT]] string<br> | ||
'''Supports''': GTA3, Vice City, San Andreas<br> | '''Supports''': GTA3, Vice City, San Andreas<br> | ||
− | 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. | + | 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 | http://img.photobucket.com/albums/v41/spaceeinstein/033E.png |
Revision as of 20:01, 13 December 2007
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.
http://img.photobucket.com/albums/v41/spaceeinstein/033E.png
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