Graphics::resetLightsState

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Return value

  • void

Syntax

mp.game.graphics.resetLightsState();

Example

mp.game.graphics.setLightsState(1, true);

//reset lights state after 5 seconds.
setTimeout(() => {
    mp.game.graphics.resetLightsState();
}, 5000);


See also