<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Ui%3A%3AapplyShowHudComponentsThisFrameBatch</id>
	<title>Ui::applyShowHudComponentsThisFrameBatch - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Ui%3A%3AapplyShowHudComponentsThisFrameBatch"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::applyShowHudComponentsThisFrameBatch&amp;action=history"/>
	<updated>2026-06-04T18:15:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Ui::applyShowHudComponentsThisFrameBatch&amp;diff=21820&amp;oldid=prev</id>
		<title>Shr0x: Created page with &quot;{{ClientsideJsFunction}} {{JSContainer| Hides, shows, or resets component based on https://wiki.rage.mp/index.php?title=Ui::setShowHudComponentsThisFrameBatch setShowHudComponentsThisFrameBatch  === Return Value === *&#039;&#039;&#039;void&#039;&#039;&#039; {{RageType|void}}  ==Syntax== &lt;pre&gt; mp.game.hud.applyShowHudComponentsThisFrameBatch(); &lt;/pre&gt;  ==Example== {{ClientsideCode| &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; const hudComponents = {     HUD_WANTED_STARS: 1,     HUD_WEAPON_ICON: 2,     HUD_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Ui::applyShowHudComponentsThisFrameBatch&amp;diff=21820&amp;oldid=prev"/>
		<updated>2024-04-25T04:26:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer| Hides, shows, or resets component based on &lt;a href=&quot;/w/index.php?title=Https://wiki.rage.mp/index.php%3Ftitle%3DUi::setShowHudComponentsThisFrameBatch_setShowHudComponentsThisFrameBatch&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Https://wiki.rage.mp/index.php?title=Ui::setShowHudComponentsThisFrameBatch setShowHudComponentsThisFrameBatch (page does not exist)&quot;&gt;https://wiki.rage.mp/index.php?title=Ui::setShowHudComponentsThisFrameBatch setShowHudComponentsThisFrameBatch&lt;/a&gt;  === Return Value === *&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; {{RageType|void}}  ==Syntax== &amp;lt;pre&amp;gt; mp.game.hud.applyShowHudComponentsThisFrameBatch(); &amp;lt;/pre&amp;gt;  ==Example== {{ClientsideCode| &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; const hudComponents = {     HUD_WANTED_STARS: 1,     HUD_WEAPON_ICON: 2,     HUD_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
Hides, shows, or resets component based on [[https://wiki.rage.mp/index.php?title=Ui::setShowHudComponentsThisFrameBatch setShowHudComponentsThisFrameBatch]]&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; {{RageType|void}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.game.hud.applyShowHudComponentsThisFrameBatch();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
const hudComponents = {&lt;br /&gt;
    HUD_WANTED_STARS: 1,&lt;br /&gt;
    HUD_WEAPON_ICON: 2,&lt;br /&gt;
    HUD_CASH: 3,&lt;br /&gt;
    HUD_MP_CASH: 4&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mp.game.hud.setShowHudComponentsThisFrameBatch(&lt;br /&gt;
    false, &lt;br /&gt;
    [hudComponents.HUD_CASH, hudComponents.HUD_MP_CASH, hudComponents.HUD_WANTED_STARS, hudComponents.HUD_WEAPON_ICON]&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&amp;#039;render&amp;#039;, () =&amp;gt; {&lt;br /&gt;
    mp.game.hud.applyShowHudComponentsThisFrameBatch()&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Controls_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
</feed>