Streaming::hasAnimDictLoaded

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

mp.game.streaming.hasAnimDictLoaded(animDict);

Required Arguments

  • animDict: String

Return value

  • Boolean

Example #1

Client-Side
mp.game.streaming.requestAnimDict("[email protected][email protected]@base");
new Promise((resolve, reject) => {
	const timer = setInterval(() => {
		if(mp.game.streaming.hasAnimDictLoaded("[email protected][email protected]@base")) {
			clearInterval(timer);
			resolve();
		}
	}, 100);
});

See also

Template:Streaming s function c