<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/HUD_Components?action=history&amp;feed=atom</id>
	<title>HUD Components - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/HUD_Components?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;action=history"/>
	<updated>2026-05-11T03:02:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81596&amp;oldid=prev</id>
		<title>FileEX at 19:15, 31 December 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81596&amp;oldid=prev"/>
		<updated>2024-12-31T19:15:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:15, 31 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''proportional (bool):''' Adjusts uneven character spacing when changing fonts.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''proportional (bool):''' Adjusts uneven character spacing when changing fonts.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''textSize (w, h):''' Read-only, returns the width and height of the text for the specified component.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''textSize (w, h):''' Read-only, returns the width and height of the text for the specified component.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scripting Concepts]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-81595:rev-81596 --&gt;
&lt;/table&gt;</summary>
		<author><name>FileEX</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81595&amp;oldid=prev</id>
		<title>FileEX: /* Properties */</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81595&amp;oldid=prev"/>
		<updated>2024-12-31T19:12:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Properties&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:12, 31 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Properties==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Properties==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Properties used in functions [[setPlayerHudComponentProperty]], [[getPlayerHudComponentProperty]] and [[resetPlayerHudComponentProperty]]. Components like '''crosshair''', '''radar''' remain unchanged and are not supported by these functions.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===General===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===General===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''position (x, y):''' The position of the component.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*'''position (x, y):''' The position of the component.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff::1.12:old-81594:rev-81595 --&gt;
&lt;/table&gt;</summary>
		<author><name>FileEX</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81594&amp;oldid=prev</id>
		<title>FileEX: Created page with &quot;This page contains a list of HUD components and their properties.  ===Components=== :*'''all:''' All of the following at the same time :*'''ammo:''' The display showing how much ammo the player has in their weapon :*'''area_name:''' The text that appears containing the name of the area a player has entered :*'''armour:''' The display showing the player's armor :*'''breath:''' The display showing the player's breath :*'''clock:''' The display showing the in-game time :*''...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HUD_Components&amp;diff=81594&amp;oldid=prev"/>
		<updated>2024-12-31T19:10:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page contains a list of HUD components and their properties.  ===Components=== :*&amp;#039;&amp;#039;&amp;#039;all:&amp;#039;&amp;#039;&amp;#039; All of the following at the same time :*&amp;#039;&amp;#039;&amp;#039;ammo:&amp;#039;&amp;#039;&amp;#039; The display showing how much ammo the player has in their weapon :*&amp;#039;&amp;#039;&amp;#039;area_name:&amp;#039;&amp;#039;&amp;#039; The text that appears containing the name of the area a player has entered :*&amp;#039;&amp;#039;&amp;#039;armour:&amp;#039;&amp;#039;&amp;#039; The display showing the player&amp;#039;s armor :*&amp;#039;&amp;#039;&amp;#039;breath:&amp;#039;&amp;#039;&amp;#039; The display showing the player&amp;#039;s breath :*&amp;#039;&amp;#039;&amp;#039;clock:&amp;#039;&amp;#039;&amp;#039; The display showing the in-game time :*&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains a list of HUD components and their properties.&lt;br /&gt;
&lt;br /&gt;
===Components===&lt;br /&gt;
:*'''all:''' All of the following at the same time&lt;br /&gt;
:*'''ammo:''' The display showing how much ammo the player has in their weapon&lt;br /&gt;
:*'''area_name:''' The text that appears containing the name of the area a player has entered&lt;br /&gt;
:*'''armour:''' The display showing the player's armor&lt;br /&gt;
:*'''breath:''' The display showing the player's breath&lt;br /&gt;
:*'''clock:''' The display showing the in-game time&lt;br /&gt;
:*'''health:''' The display showing the player's health&lt;br /&gt;
:*'''money:''' The display showing how much money the player has&lt;br /&gt;
:*'''radar:''' The bottom-left corner miniradar&lt;br /&gt;
:*'''vehicle_name:''' The text that appears containing the player's vehicle name when the player enters a vehicle&lt;br /&gt;
:*'''weapon:''' The display showing the player's weapon&lt;br /&gt;
:*'''radio:''' The display showing the radio label&lt;br /&gt;
:*'''wanted:''' The display showing the player's wanted level&lt;br /&gt;
:*'''crosshair:''' The weapon crosshair and sniper scope&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
===General===&lt;br /&gt;
*'''position (x, y):''' The position of the component.&lt;br /&gt;
*'''size (w, h):''' The size of the component. For text components, this corresponds to font scale.&lt;br /&gt;
*'''fillColor (number tocolor):''' The primary color of the component, e.g., bar fill color, weapon icon color or text color.&lt;br /&gt;
*'''FillColorSecondary (number tocolor):''' A secondary color, used for components like&lt;br /&gt;
:*'''money''' Color when the value is negative.&lt;br /&gt;
:*'''wanted''' Color of &amp;quot;empty&amp;quot; stars.&lt;br /&gt;
:*'''weapon''' Specific color for the fist icon.&lt;br /&gt;
:*'''radio''' Text color when a station is &amp;quot;loading&amp;quot; (this seems to be skipped in MTA).&lt;br /&gt;
*'''useCustomAlpha (bool):''' By default, settings like '''fillColor''' and '''dropColor''' ignore the provided alpha value to preserve original fade-in/fade-out animations. Use this parameter to override that behavior.&lt;br /&gt;
*'''all:''' Used for resetting all properties of a component in [[resetPlayerHudComponentProperty]].&lt;br /&gt;
&lt;br /&gt;
===Bars===&lt;br /&gt;
*'''drawBlackBorder (bool):''' Adds a black border around the bar.&lt;br /&gt;
*'''drawPercentage (bool):''' Displays the percentage value as text on the bar.&lt;br /&gt;
*'''blinkingValue (number):''' Specific to the health bar, determines the HP threshold below which the bar will start blinking.&lt;br /&gt;
&lt;br /&gt;
===Texts===&lt;br /&gt;
*'''dropColor (number tocolor):''' The color of the text's shadow or outline.&lt;br /&gt;
*'''fontOutline (number):''' The size of the text's outline.&lt;br /&gt;
*'''fontShadow (number):''' The shadow offset for the text.&lt;br /&gt;
*'''fontStyle (string):''' - The font style, selected from GTA's default fonts:&lt;br /&gt;
:*'''menu'''&lt;br /&gt;
:*'''subtitles'''&lt;br /&gt;
:*'''pricedown'''&lt;br /&gt;
:*'''gothic'''&lt;br /&gt;
*'''fontAlignment (string):''' Specifies the text alignment, useful for custom positioning&lt;br /&gt;
:*'''left'''&lt;br /&gt;
:*'''right'''&lt;br /&gt;
:*'''center'''&lt;br /&gt;
*'''proportional (bool):''' Adjusts uneven character spacing when changing fonts.&lt;br /&gt;
*'''textSize (w, h):''' Read-only, returns the width and height of the text for the specified component.&lt;/div&gt;</summary>
		<author><name>FileEX</name></author>
	</entry>
</feed>