Graphics::startScreenEffect

From RAGE Multiplayer Wiki

duration - is how long to play the effect for in milliseconds. If 0, it plays the default length
if loop is true, the effect wont stop until you call _STOP_SCREEN_EFFECT on it. (only loopable effects)

Example and list of screen FX: www.pastebin.com/dafBAjs0

Syntax

mp.game.graphics.startScreenEffect(effectName, duration, looped);

Required Arguments

  • effectName: String
  • duration: int
  • looped: Boolean

Return value

  • Undefined

Example

// todo

See also