🚨 [FS LABS] fSirens - Pro-Sync Emergency System
Elevate your server's realism with fSirens, a high-performance, OneSync-ready emergency lighting and siren system. This script is engineered to eliminate "siren lag" and "radio desync" while providing a premium, server-sided custom audio experience.
🛡️ Key Features
-
Custom Server-Sided Audio: Includes a custom
yelptone(manual siren) streamed directly to all players via NUI. No more "broken" sirens for players with differentRESIDENT.rpffiles—everyone hears exactly what you hear. - State Bag Synchronization: Built on modern FiveM State Bags, ensuring that lights and sirens are perfectly synced across all clients with zero network delay.
- 3D Positional Sound: Custom audio uses a dynamic 3D soundscape. The volume fades naturally based on distance, providing realistic immersion for bystanders and other units.
- Automatic Radio Lockout: Designed for tactical focus. When an officer enters an emergency vehicle, the civilian radio is automatically disabled and locked to prevent accidental music triggers during pursuits.
- Optimized Performance: Highly efficient codebase running at 0.00ms on idle, maintaining peak server performance even during massive 10-80s.
🎮 Controls (Fully Configurable)
- [Q]: Toggle Emergency Lights.
- [1]: Wail Siren.
- [2]: Yelp Siren.
- [3]: Priority/Phaser Siren.
- [Left CTRL]: Custom Manual Yelp (fSirens Exclusive - Plays while held).
⚙️ Customization
The script features a dedicated config.lua for effortless server-side adjustments:
- Volume Levels: Fine-tune the custom audio output to balance with game sounds.
- Max Hear Distance: Control exactly how far the 3D audio travels.
- Keybinds: Fully re-mappable controls to fit your community's existing keybind standards.
📦 Technical Details
- Standalone: Zero dependencies. Works perfectly with ESX, QB-Core, vRP, or any custom framework.
- Escrow Protected: Securely delivered and managed via Cfx.re Keymaster.
- Ogg Vorbis Support: High-fidelity audio encoding with minimal impact on client load times.