GraphicsClient

disableMoonCycleOverride

DISABLE_MOON_CYCLE_OVERRIDE0x2BF72AD5B41AA739

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

SignatureJavaScript
disableMoonCycleOverride(): void
SignatureLua
disableMoonCycleOverride()

Usage

JavaScript
disableMoonCycleOverride();
Lua
disableMoonCycleOverride()

Parameters

None.

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.

Resets the timecycle modifier strength normally set with enableMoonCycleOverride

Reference

Namespace
Graphics GRAPHICS
In the game
void DISABLE_MOON_CYCLE_OVERRIDE()
Hash
0x2BF72AD5B41AA739
Formerly
_RESET_EXTRA_TIMECYCLE_MODIFIER_STRENGTH

Open in the interactive natives reference