Skip to main content

Graphics::setLightsState

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

JavaScript​

Required Arguments​

  • lightid: Number(0-16)
  • disable: Boolean

Return value​

  • void

Syntax​

mp.game.graphics.setLightsState(lightid, disable);

Example​

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