<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Streaming%3A%3AhasAnimDictLoaded</id>
	<title>Streaming::hasAnimDictLoaded - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Streaming%3A%3AhasAnimDictLoaded"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Streaming::hasAnimDictLoaded&amp;action=history"/>
	<updated>2026-07-24T19:45:06Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Streaming::hasAnimDictLoaded&amp;diff=14241&amp;oldid=prev</id>
		<title>imported&gt;MrPancakers2 в 01:47, 25 апреля 2021</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Streaming::hasAnimDictLoaded&amp;diff=14241&amp;oldid=prev"/>
		<updated>2021-04-25T01:47:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ClientsideJsFunction}}&lt;br /&gt;
Checks to see if the animation dictionary has loaded.&lt;br /&gt;
&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.game.streaming.hasAnimDictLoaded(animDict);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;animDict:&amp;#039;&amp;#039;&amp;#039; {{RageType|String}}&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Boolean&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Example #1== &lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
async function loadLuckyWheelAnimLib(){&lt;br /&gt;
    if(mp.players.local.model === mp.game.joaat(&amp;quot;mp_m_freemode_01&amp;quot;)){&lt;br /&gt;
        animationLib = &amp;quot;anim_casino_a@amb@casino@games@lucky7wheel@male&amp;quot;&lt;br /&gt;
    } else if(mp.players.local.model === mp.game.joaat(&amp;quot;mp_f_freemode_01&amp;quot;)) {&lt;br /&gt;
        animationLib = &amp;quot;anim_casino_a@amb@casino@games@lucky7wheel@female&amp;quot;&lt;br /&gt;
    } else {&lt;br /&gt;
        return mp.gui.chat.push(&amp;quot;You must be using a freemode character model&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mp.game.streaming.requestAnimDict(animationLib);&lt;br /&gt;
&lt;br /&gt;
    // Used so you don&amp;#039;t get stuck in an infinite loop if it never loads.&lt;br /&gt;
    for(let i = 0; mp.game.streaming.hasAnimDictLoaded(animationLib) === 0 &amp;amp;&amp;amp; i &amp;lt; 15; i++){&lt;br /&gt;
        if(i === 14) return mp.game.graphics.notify(&amp;#039;~r~Error loading Lucky Wheel spin animation.&amp;#039;);&lt;br /&gt;
        mp.gui.chat.push(&amp;quot;Loading wheel spin animation...&amp;quot;);&lt;br /&gt;
        await mp.game.waitAsync(100);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    mp.gui.chat.push(&amp;quot;Anim loaded.&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;MrPancakers2</name></author>
	</entry>
</feed>