Script::requestStreamedScript: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
formerly _REQUEST_STREAMED_SCRIPT
formerly _REQUEST_STREAMED_SCRIPT
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">script.requestStreamedScript(scriptHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.script.requestStreamedScript(scriptHash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''scriptHash:''' Model hash or name
*'''scriptHash:''' Model hash or name
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Script_function_c}}
{{Script_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:31, 6 May 2017

formerly _REQUEST_STREAMED_SCRIPT

Syntax

mp.game.script.requestStreamedScript(scriptHash);

Required Arguments

  • scriptHash: Model hash or name

Return value

  • Undefined

Example

// todo

See also

Template:Script s function c