Cam::doScreenFadeIn: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Fades the screen in.<br><br>duration: The time the fade should take, in milliseconds.
Fades the screen in.<br><br>duration: The time the fade should take, in milliseconds.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">cam.doScreenFadeIn(duration);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.cam.doScreenFadeIn(duration);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''duration:''' int
*'''duration:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Cam_function_c}}
{{Cam_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:05, 6 May 2017

Fades the screen in.

duration: The time the fade should take, in milliseconds.

Syntax

mp.game.cam.doScreenFadeIn(duration);

Required Arguments

  • duration: int

Return value

  • Undefined

Example

// todo

See also

Template:Cam s function c