Statebags Fivem -

For things like weather or time that apply to everyone:

In FiveM, a statebag is a container that stores data for a specific entity, such as a player's character, a vehicle, or a ped. Statebags are used to persist data across different scripts, resources, and even server restarts. They provide a convenient way to store and retrieve data, making it easier to develop complex scripts and systems.