All public logs
Combined display of all available logs of RAGE Multiplayer Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 09:08, 26 April 2024 Shr0x talk contribs created page Graphics::getLightsState (Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''lightid:''' {{RageType|Number}} ===Return value=== *''{{RageType|Boolean}}'' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.graphics.getLightsState(lightId); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.graphics.setLightsState(1, true); const lightState = mp.game.graphics.getLightsState(1); mp.console.logInfo(`Light id 1 state is ${lightState}`); </syntaxhighlight>...")