enableMoonCycleOverride
ENABLE_MOON_CYCLE_OVERRIDE0x2C328AF17210F009The 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.
enableMoonCycleOverride(strength: number): voidenableMoonCycleOverride(strength: number)Usage
JavaScript
enableMoonCycleOverride(strength);Lua
enableMoonCycleOverride(strength)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
strength | float | number | number |
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