<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/ResetPlayerHudComponentProperty?action=history&amp;feed=atom</id>
	<title>ResetPlayerHudComponentProperty - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/ResetPlayerHudComponentProperty?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetPlayerHudComponentProperty&amp;action=history"/>
	<updated>2026-05-09T19:19:51Z</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=ResetPlayerHudComponentProperty&amp;diff=81599&amp;oldid=prev</id>
		<title>FileEX: Created page with &quot;__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22868|This function resets the specified property to its default value.}}  ==Syntax== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool resetPlayerHudComponentProperty (string component, string property) &lt;/syntaxhighlight&gt;  {{OOP||player:getHudComponentProperty||setPlayerHudComponentProperty}}  ===Required Arguments=== *'''component:''' The component whose property you want to reset. See HUD Components. *'''property:'...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetPlayerHudComponentProperty&amp;diff=81599&amp;oldid=prev"/>
		<updated>2024-12-31T19:33:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22868|This function resets the specified property to its default value.}}  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool resetPlayerHudComponentProperty (string component, string property) &amp;lt;/syntaxhighlight&amp;gt;  {{OOP||&lt;a href=&quot;/wiki/Player&quot; class=&quot;mw-redirect&quot; title=&quot;Player&quot;&gt;player&lt;/a&gt;:getHudComponentProperty||setPlayerHudComponentProperty}}  ===Required Arguments=== *&amp;#039;&amp;#039;&amp;#039;component:&amp;#039;&amp;#039;&amp;#039; The component whose property you want to reset. See &lt;a href=&quot;/wiki/HUD_Components&quot; title=&quot;HUD Components&quot;&gt;HUD Components&lt;/a&gt;. *&amp;#039;&amp;#039;&amp;#039;property:&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{New feature/item|3.0161|1.6.0|22868|This function resets the specified property to its default value.}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetPlayerHudComponentProperty (string component, string property)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[player]]:getHudComponentProperty||setPlayerHudComponentProperty}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''component:''' The component whose property you want to reset. See [[HUD Components]].&lt;br /&gt;
*'''property:''' The name of the property you want to reset. See [[HUD Components#Properties|HUD Properties]].&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if successful, '''false''' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
resetPlayerHudComponentProperty('clock', 'fillColor')&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It’s also possible to use all to reset all properties of a specific component or all properties of all components (the entire HUD).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
resetPlayerHudComponentProperty(&amp;quot;all&amp;quot;, &amp;quot;all&amp;quot;) -- resets entire hud&lt;br /&gt;
resetPlayerHudComponentProperty(&amp;quot;money&amp;quot;, &amp;quot;all&amp;quot;) -- resets all properties for money component&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player_functions|client}}&lt;/div&gt;</summary>
		<author><name>FileEX</name></author>
	</entry>
</feed>