Streaming::hasModelLoaded: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Checks if the specified model has loaded into memory.
Checks if the specified model has loaded into memory.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">streaming.hasModelLoaded(model);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.streaming.hasModelLoaded(model);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''model:''' Model hash or name
*'''model:''' Model hash or name
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Streaming_function_c}}
{{Streaming_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 03:33, 27 May 2024

Checks if the specified model has loaded into memory.

Syntax

mp.game.streaming.hasModelLoaded(model);

Required Arguments

  • model: Model hash or name

Return value

  • Boolean

Example

// todo

See also