alt.setWeatherSyncActive
Enabled weather synchronization with setWeatherCycle
.
This does not work unless setWeatherCycle
is used.
Declaration
alt.setWeatherSyncActive(isActive: boolean): void
Usage
alt.setWeatherSyncActive(true);
Real World Example
alt.setWeatherSyncActive(true);
These examples assume you have imported alt
from alt-client
.