Native referenceFiveM

ENABLE_MOON_CYCLE_OVERRIDE

0x2C328AF17210F009 GRAPHICS
FUNCTION SIGNATURE
void ENABLE_MOON_CYCLE_OVERRIDE(float phase);
Property Value
Native Name ENABLE_MOON_CYCLE_OVERRIDE
Hash 0x2C328AF17210F009
Return Type void
Parameters phase (float)

Description: Enable a custom moon cycle, allowing control of which lunar phase the moon is in.

Valid values are from 0.0 to 1.0, with 0.5 representing a full moon.

Value Lunar Phase
0.1 Waxing Crescent
0.2 First Quarter
0.3 Waxing Gibbous
0.5 Full Moon
0.7 Waning Gibbous
0.8 Third Quarter
0.9 Waning Crescent

The moon phase can be disabled with DISABLE_MOON_CYCLE_OVERRIDE

Parameters

  • phase (float) — A value indicating the moon cycle.

Examples

EnableMoonCycleOverride(0.5)
Back to GRAPHICS