Graphics::transitionToBlurred: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
mp.game.graphics.transitionToBlurred(1000); // Blur the screen after 1000ms (RU: Размываем экран через 1000 мс)
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_s_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 14:38, 13 November 2020

time in ms to transition to fully blurred screen

Syntax

mp.game.graphics.transitionToBlurred(transitionTime);

Required Arguments

  • transitionTime: float

Return value

  • Boolean

Example

mp.game.graphics.transitionToBlurred(1000); // Blur the screen after 1000ms (RU: Размываем экран через 1000 мс)

See also