Requirements
- A working FiveM server
- Basic access to your server files and
server.cfg
Setup
-
Download the
px_climateresource. -
Place the folder into your server’s resources directory.
Example structure:
resources/px_climate -
Open your
server.cfgand add the resource: ensure px_climate - Restart your server or run a refresh and start the resource manually.
Configuration
All behavior is controlled inside: config/shared.lua This includes location settings, update intervals, and optional weather overrides. The default values are already set for a working environment, so you can run the resource immediately without changing anything.How it starts
When the resource loads:- A fallback weather state is applied instantly
- The system begins fetching real-world weather data
- Time sync initializes using your configured timezone
- Clients automatically receive synced weather and time
Troubleshooting
If the resource does not behave as expected:- Make sure the resource name is exactly
px_climate - Confirm it is started after any core dependencies
- Check your server console for debug logs (enable Debug in config if needed)