██████╗ ███████╗██████╗ ███████╗██╗██████╗ ███████╗███╗ ██╗███████╗
██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║██╔══██╗██╔════╝████╗ ██║██╔════╝
██████╔╝█████╗ ██████╔╝ ███████╗██║██████╔╝█████╗ ██╔██╗ ██║███████╗
██╔══██╗██╔══╝ ██╔══██╗ ╚════██║██║██╔══██╗██╔══╝ ██║╚██╗██║╚════██║
██║ ██║███████╗██║ ██║ ███████║██║██║ ██║███████╗██║ ╚████║███████║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚══════╝
CB Sirens is an immersive apocalyptic warning and emergency alert system for FiveM survival environments.
CB Sirens transforms sirens into dynamic world events designed for:
- 🧟 Zombie survival servers
- ☣️ Apocalyptic environments
- 🏚️ Survival gameplay
- 🌎 PvE worlds
- 🚨 Emergency warning systems
- 🎮 Custom scripted events
The system provides synchronized, area-based alerts with immersive 3D spatial audio, configurable warning zones, multiple sound profiles and a real-time control interface.
It can be used to create events such as:
- City-wide emergency warnings
- Evacuation alerts
- Infection outbreaks
- Horde warnings
- Safe-zone alerts
- Military or government warnings
- Nuclear or environmental emergencies
- Custom scripted world events
- Multi-source 3D spatial audio
- Distance-based volume falloff
- Head-tracking audio positioning
- HRTF spatial audio
- Smooth audio transitions
- Multiple simultaneous sound sources
- Configurable sound range
- Per-area volume control
- Area-based warning activation
- Multiple active areas
- Individual area sound configuration
- Global alert activation
- Global alert deactivation
- Area-specific deactivation
- Sound overrides
- Persistent multiplayer state
- Join-in-progress synchronization
Each configured area can define its own:
- Alert sound
- Audio range
- Volume
- Activation state
- Warning objects
- Multiple physical alert locations
This allows large survival maps to have different warning systems depending on the location.
The integrated NUI control panel provides:
- Master alert controls
- Area management
- Sound selection
- Active area monitoring
- Active pole monitoring
- System status
- Sound overrides
Players can locally mute or restore CB Sirens without affecting the alert state of other players.
External resources can trigger and control alerts through exports, allowing CB Sirens to become part of larger gameplay systems.
Examples include:
- Zombie horde systems
- Dynamic events
- Mission systems
- Infection systems
- Evacuation events
- Safe-zone systems
- Custom survival mechanics
cb_sirens/
│
├─ fxmanifest.lua
├─ README.md
│
├─ config/
│ └─ config.lua
│
├─ client/
│ └─ client files
│
├─ server/
│ └─ server files
│
├─ NUI/
│ ├─ interface files
│ └─ sounds/
│ └─ *.ogg
│
└─ stream/
└─ streamed assets
The exact file structure may vary between releases.
Place the cb_sirens folder inside your FiveM resources directory.
Example:
resources/[your_folder]/cb_sirens
Add the following to server.cfg:
ensure cb_sirensRestart the resource or restart the server:
restart cb_sirens
The primary configuration file is:
config/config.lua
The configuration controls:
- Alert controls
- Sounds
- Warning areas
- Audio range
- Volume
- Alert objects
- Permissions
- Discord notifications
- UI behaviour
Example:
Controls = {
ToggleSirens = {
command = "togglecbs",
description = "Toggle CB Sirens audio.",
keyMapping = "",
input = "keyboard"
},
OpenCBSMenu = {
command = "cbsmenu",
description = "Open the CB Sirens control panel.",
keyMapping = "",
input = "keyboard"
}
}Custom .ogg audio files can be added to:
NUI/sounds/
Example:
SirenSoundFileList = {
[1] = {
SoundFile = "general-siren",
DisplayName = "Default Alert"
},
[2] = {
SoundFile = "your-sound",
DisplayName = "Custom Warning"
}
}The configured SoundFile must match the filename inside NUI/sounds/.
For example:
NUI/sounds/horde-warning.ogg
would use:
SoundFile = "horde-warning"Each area can define its own alert behaviour.
Example:
SirenObjectLocations = {
["Example Area"] = {
enabled = true,
soundFile = "general-siren",
soundReach = 1250.0,
soundVolume = 0.11,
poles = {
{
x = 100.0,
y = 200.0,
z = 30.0,
w = 0.0
}
}
}
}Each warning area can have:
- Independent sounds
- Independent audio range
- Independent volume
- Multiple alert objects
- Individual activation state
CB Sirens supports multiple permission methods.
No framework is required.
FiveM ACE permissions can be used to restrict control access.
Optional support for:
- Job-based permissions
- Permission/group-based access
Optional support for job-based permissions.
Optional Discord role-based permissions can be used through the supported Discord integration.
Permission behaviour is configured through:
config/config.lua
Players can configure their FiveM keybindings through:
Settings → Key Bindings → FiveM
/togglecbs
This only changes the local player's audio.
It does not deactivate the global alert.
Authorized operators can open the control panel with:
/cbsmenu
Authorized operators can control the warning system through the NUI panel.
Available functionality includes:
- Activate individual warning areas
- Activate multiple areas
- Deactivate individual areas
- Deactivate all active areas
- Select alert sounds
- Override active sounds
- Monitor active areas
- Monitor active alert objects
- Manage the global alert state
CB Sirens provides exports for integration with other FiveM resources.
This allows external systems to trigger alerts dynamically.
exports['cb_sirens']:TriggerCBSirensByAreaExport(
"general-siren",
{
"Fort Zancudo",
"Paleto Bay"
}
)exports['cb_sirens']:DeactivateCBSirensByAreaExport(
{
"Fort Zancudo"
}
)exports['cb_sirens']:DeactivateAllCBSirensExport()local areas = exports['cb_sirens']:GetAvailableAreas()These exports can be used by external resources to connect CB Sirens with:
- Dynamic events
- Zombie systems
- Missions
- Horde events
- Evacuation systems
- Infection mechanics
- Custom gameplay scripts
CB Sirens does not require an external framework.
- FiveM server
- One compatible FiveM server environment
- QBCore
- ESX
- Discord role integration
Framework integrations are only required when their respective permission systems are enabled.
CB Sirens is designed to operate independently of a specific framework.
Supported environments include:
- Standalone
- QBCore
- ESX
- Custom FiveM frameworks
The alert system itself does not require QBCore or ESX.
CB Sirens is designed to remain lightweight during normal operation.
Typical client performance may remain around:
0.00–0.02ms
Actual performance depends on:
- Number of configured alert areas
- Number of active areas
- Number of alert objects
- Audio sources
- Player conditions
- Server configuration
Performance values should be considered approximate rather than guaranteed.
Verify:
- The resource folder is named
cb_sirens - The resource is inside the server resources directory
ensure cb_sirensexists inserver.cfg- The resource structure is correct
- The server console contains no startup errors
Check:
- The
.oggfile exists - The configured sound name matches the file
- The player is within
soundReach - The player has not locally muted the system
- The NUI is loading correctly
- The F8 console contains no errors
For additional diagnostics:
Config.Debug = trueVerify:
- The area exists in
SirenObjectLocations - The area is enabled
- The area name matches exactly
- The operator has the required permission
- The server has successfully loaded the configuration
- No server-side errors are present
Verify:
Config.EnableObjects = trueThen check:
- The configured model exists
- The streamed assets are installed
- The player is within
ObjectRenderDistance - The
stream/directory is present - The FiveM console contains no model errors
Verify:
- The file is inside
NUI/sounds/ - The file uses
.ogg - The filename matches
SoundFile - The resource has been restarted after adding the file
- The browser/NUI console contains no audio errors
CB Sirens uses browser-based Web Audio functionality for spatial audio processing.
The audio system supports:
- Multiple simultaneous audio sources
- Distance-based falloff
- Spatial positioning
- Head-tracked positioning
- HRTF audio
- Smooth volume transitions
- Multiplayer synchronization
The server controls the synchronized alert state while clients handle local audio playback and spatial positioning.
Before updating CB Sirens:
- Stop the resource.
- Back up the current installation.
- Replace the resource files.
- Review configuration changes.
- Review the release notes.
- Restart the resource.
Example:
restart cb_sirens
Always back up your existing configuration before applying major updates.
Do not rename internal configuration keys, events or exports unless you understand their dependencies.
External resources may rely on:
- Resource name
- Export names
- Event names
- Configuration keys
- Server integrations
Changing these values can break existing integrations.
When requesting support, provide:
Resource:
CB Sirens
Version:
1.2.1
Server Build:
[Your build]
Framework:
[Standalone / QBCore / ESX / Other]
Issue:
[Describe the problem]
Error Logs:
[Relevant console output]
Configuration:
[Relevant configuration section]
Do not include private credentials, Discord webhook URLs or other sensitive information.
CB Sirens is developed and maintained by CB Studios.
Store
https://pichirin-cb.tebex.io/
Documentation
https://docs.pichirincb.com/
Support Discord
https://discord.gg/hsx6AvBg5s
Apocalyptic Systems • Survival Resources • FiveM Development