Graphics::hasNamedScaleformMovieLoaded: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Pretty sure it's the real name (not 100% sure so I added the _ prefix); can someone else confirm it?<br><br>Only values used in the scripts are:<br><br>'heist_mp'<br>'heistmap_mp'<br>'instructional_buttons'<br>'heist_pre'
Pretty sure it's the real name (not 100% sure so I added the _ prefix); can someone else confirm it?<br><br>Only values used in the scripts are:<br><br>'heist_mp'<br>'heistmap_mp'<br>'instructional_buttons'<br>'heist_pre'
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.hasNamedScaleformMovieLoaded(scaleformName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.hasNamedScaleformMovieLoaded(scaleformName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''scaleformName:''' String
*'''scaleformName:''' String
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:13, 6 May 2017

Pretty sure it's the real name (not 100% sure so I added the _ prefix); can someone else confirm it?

Only values used in the scripts are:

'heist_mp'
'heistmap_mp'
'instructional_buttons'
'heist_pre'

Syntax

mp.game.graphics.hasNamedScaleformMovieLoaded(scaleformName);

Required Arguments

  • scaleformName: String

Return value

  • Boolean

Example

// todo

See also