Graphics::callScaleformMovieFunctionFloatParams: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Calls the Scaleform function and passes the parameters as floats.<br><br>The number of parameters passed to the function varies, so the end of the parameter list is represented by -1.0.==Syntax==<syntaxhighlight lang="javascript">graphics.callScaleformMovieFunctionFloatParams(scaleform, functionName, param1, param2, param3, param4, param5);</syntaxhighlight>=== Required Arguments ===*'''scaleform:''' int*'''functionName:''' String*'''param1:''' float*'''param2:''' float*'''param3:''' float*'''param4:''' float*'''param5:''' float===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Graphics_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Calls the Scaleform function and passes the parameters as floats.<br><br>The number of parameters passed to the function varies, so the end of the parameter list is represented by -1.0.
==Syntax==
<syntaxhighlight lang="javascript">mp.game.graphics.callScaleformMovieFunctionFloatParams(scaleform, functionName, param1, param2, param3, param4, param5);</syntaxhighlight>
=== Required Arguments ===
*'''scaleform:''' int
*'''functionName:''' String
*'''param1:''' float
*'''param2:''' float
*'''param3:''' float
*'''param4:''' float
*'''param5:''' float
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 21:27, 6 May 2017

Calls the Scaleform function and passes the parameters as floats.

The number of parameters passed to the function varies, so the end of the parameter list is represented by -1.0.

Syntax

mp.game.graphics.callScaleformMovieFunctionFloatParams(scaleform, functionName, param1, param2, param3, param4, param5);

Required Arguments

  • scaleform: int
  • functionName: String
  • param1: float
  • param2: float
  • param3: float
  • param4: float
  • param5: float

Return value

  • Undefined

Example

// todo

See also