Difference between revisions of "0349"

From GTAMods Wiki
Jump to navigation Jump to search
(page rewrite)
m
 
Line 3: Line 3:
 
| games      = {{Icon|3}} {{Icon|SA}}
 
| games      = {{Icon|3}} {{Icon|SA}}
 
| command    = SET_<wbr>TEXT_<wbr>FONT
 
| command    = SET_<wbr>TEXT_<wbr>FONT
| description = Sets the [[GXT#Character maps|font]] of the [[Text#Display text|text]]
+
| description = Sets the [[GXT#Character maps|font]] of the [[Text#Intro text|text]]
 
| syntax1    = 0349: text_draw_style = [''int'']
 
| syntax1    = 0349: text_draw_style = [''int'']
 
| p1t        = [''int'']
 
| p1t        = [''int'']
| p1d        = Font style (see below)
+
| p1d        = Font style ([[#Font styles|see below]])
 
}}
 
}}
  
 
This opcode sets the font of the text. Using fonts outside the allowed range will produce white rectangles and may adversely affect other text. The lead image on this page shows text displayed in GTA III starting with font 0 at the top.
 
This opcode sets the font of the text. Using fonts outside the allowed range will produce white rectangles and may adversely affect other text. The lead image on this page shows text displayed in GTA III starting with font 0 at the top.
  
 +
== Font styles ==
 
{|class="wikitable center-col-1"
 
{|class="wikitable center-col-1"
 
!rowspan="2" |Font ||colspan="2" |Name
 
!rowspan="2" |Font ||colspan="2" |Name
Line 26: Line 27:
  
 
== Keywords ==
 
== Keywords ==
set, draw, text, font, style
+
set, draw, intro, {{K|text}}, font, style

Latest revision as of 01:12, 23 November 2016

0349 in action

GTA III San Andreas SET_TEXT_FONT


Description
Sets the font of the text
Syntax
0349: text_draw_style = [int]
Parameter
[int]
Font style (see below)

This opcode sets the font of the text. Using fonts outside the allowed range will produce white rectangles and may adversely affect other text. The lead image on this page shows text displayed in GTA III starting with font 0 at the top.

Font styles

Font Name
GTA III San Andreas
0 FONT_BANK
1 FONT_PAGER
2 FONT_HEADING
3 -

Keywords

set, draw, intro, text, font, style