GraphicsClient

enableMoonCycleOverride

ENABLE_MOON_CYCLE_OVERRIDE0x2C328AF17210F009

The GTA V native ENABLE_MOON_CYCLE_OVERRIDE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function enableMoonCycleOverride, in JavaScript and in Lua.

SignatureJavaScript
enableMoonCycleOverride(strength: number): void
SignatureLua
enableMoonCycleOverride(strength: number)

Usage

JavaScript
enableMoonCycleOverride(strength);
Lua
enableMoonCycleOverride(strength)

Parameters

ParameterTypeJavaScriptLua
strengthfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

The same as setTimecycleModifierStrength but for the secondary timecycle modifier.

Reference

Namespace
Graphics GRAPHICS
In the game
void ENABLE_MOON_CYCLE_OVERRIDE(float strength)
Hash
0x2C328AF17210F009
Formerly
_SET_EXTRA_TIMECYCLE_MODIFIER_STRENGTH _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH

Open in the interactive natives reference