Graphics::setBlackout: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Disables all emissive textures and lights like city lights, car lights, cop car lights. Particles still emit light<br><br>Used in Humane Labs Heist for EMP.
Disables all emissive textures and lights like city lights, car lights, cop car lights. Particles still emit light<br><br>Used in Humane Labs Heist for EMP.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.setBlackout(enable);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.setBlackout(enable);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''enable:''' Boolean
*'''enable:''' Boolean
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

Disables all emissive textures and lights like city lights, car lights, cop car lights. Particles still emit light

Used in Humane Labs Heist for EMP.

Syntax

mp.game.graphics.setBlackout(enable);

Required Arguments

  • enable: Boolean

Return value

  • Undefined

Example

// todo

See also