Graphics::resetLightsState: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

26 April 2024

  • curprev 09:0309:03, 26 April 2024Shr0x talk contribs 463 bytes +463 Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Return value=== *'''void''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.graphics.resetLightsState(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.graphics.setLightsState(1, true); //reset lights state after 5 seconds. setTimeout(() => { mp.game.graphics.resetLightsState(); }, 5000); </syntaxhighlight> }} ==See also== {{Graphics_s_function_c}} Category:Clientside API"