[STANDALONE] DYNAMIC WEATHER
Features
-
π Multi-Zone Support: Define multiple areas on the map with different weather types simultaneously (e.g., Snow on Mount Chiliad while it's Sunny at the Airport).
-
πΎ Full Persistence: Zones created in-game are automatically saved to a
zones.json file, ensuring they remain active after server restarts.
-
π Dynamic Map Blips: Automatically generates radius circles and icons for each zone. Fully customizable colors and sprites via commands.
-
π Smooth Transitions: Features a 15-second "Overtime" transition so weather changes feel natural to players entering a zone.
-
β‘ Optimized Performance: Runs at 0.00ms on idle, using a smart distance-checking loop that won't impact your server's frame rate.
-
π Admin Security: Fully integrated with ACE Permissions to ensure only authorized staff can manage weather zones.
π οΈ Admin Commands
-
/addzone [name] [radius] [weather] [visible] [sprite] [color] β Create a new zone at your current location.
-
/removezone [name] β Instantly delete a zone and its data.
-
/setzoneweather [name] [weather] β Change the climate of an existing zone.
-
/tpzone [name] β Teleport to the center of any active zone.
-
/listzones β List all active configurations in the console.
π¦ Technical Details
-
Framework: 100% Standalone (No ESX/QB-Core dependencies required).
-
Permissions: Integrated with FiveM's native ACE system.
-
Customization: Easy-to-edit
config.lua for default settings and predefined zones.