<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.setTextFont</id>
	<title>natives.setTextFont - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.setTextFont"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.setTextFont&amp;action=history"/>
	<updated>2026-04-20T15:05:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=natives.setTextFont&amp;diff=11282&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextFont |parameters = int fontId |parameter1 = int fontId Font style index (0–8 available) |usage = Sets the font style used for text drawn on the screen |notes =  - Must be called before natives.displayTextWithLiteralString or similar text drawing functions - Available font IDs range from 0 to 8 - Each font ID corresponds to a different style; some may look similar depending on the ga...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.setTextFont&amp;diff=11282&amp;oldid=prev"/>
		<updated>2025-11-28T12:15:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextFont |parameters = int fontId |parameter1 = int fontId Font style index (0–8 available) |usage = Sets the font style used for text drawn on the screen |notes =  - Must be called before &lt;a href=&quot;/natives.displayTextWithLiteralString&quot; title=&quot;natives.displayTextWithLiteralString&quot;&gt;natives.displayTextWithLiteralString&lt;/a&gt; or similar text drawing functions - Available font IDs range from 0 to 8 - Each font ID corresponds to a different style; some may look similar depending on the ga...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|games = iv&lt;br /&gt;
|type = function&lt;br /&gt;
|name = natives.setTextFont&lt;br /&gt;
|parameters = int fontId&lt;br /&gt;
|parameter1 = int fontId Font style index (0–8 available)&lt;br /&gt;
|usage = Sets the font style used for text drawn on the screen&lt;br /&gt;
|notes = &lt;br /&gt;
- Must be called before [[natives.displayTextWithLiteralString]] or similar text drawing functions&lt;br /&gt;
- Available font IDs range from 0 to 8&lt;br /&gt;
- Each font ID corresponds to a different style; some may look similar depending on the game build&lt;br /&gt;
- Common usage: 0 for default HUD font, higher values for stylized text&lt;br /&gt;
|return1 = void&lt;br /&gt;
|returnFail1 = void&lt;br /&gt;
|exampleJS = addEventHandler(&amp;quot;OnDrawnHUD&amp;quot;, function() {&lt;br /&gt;
    // Configure text style with font 0&lt;br /&gt;
    natives.setTextScale(0.30, 0.30);&lt;br /&gt;
    natives.setTextFont(0);&lt;br /&gt;
    natives.setTextColour(255, 255, 255, 255);&lt;br /&gt;
&lt;br /&gt;
    natives.displayTextWithLiteralString(new Vec2(0.05, 0.10), &amp;quot;STRING&amp;quot;, &amp;quot;Text with font size 0&amp;quot;);&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>