VERSION ENCRYPTED WITH ASSET ESCROW SYSTEM
⚠️ The LB Phone is required for this script to work; purchasing it without an LB Phone is not grounds for a refund.
SMDZ LB Emergency App is a complete emergency alert ecosystem built specifically for LB Phone on FiveM.
It adds a fully integrated public alert feed inside the phone for all players, along with a secure alert sender panel for authorized jobs.
Designed to simulate real-world emergency broadcasts (Amber Alert, Police Advisory, Medical Warning, Fire Evacuation, Military Lockdown, etc.), this system combines realism, strong permission control, anti-spam protection, and database persistence — all inside a clean, modern iOS-style interface.
📱 LB PHONE APP INTEGRATION
Custom phone app with configurable name, icon, and description. Alerts appear directly inside LB Phone and update in real time.
🧭 ZONE-BASED DISPATCH (POLYZONE)
Send alerts globally (ALL) or target specific regions such as Los Santos, North County, Cayo Perico, or any custom zone you define.
🧑✈️ JOB & GRADE PERMISSIONS
Two-layer permission system:
Who can open the panel
Who can send each alert type
Fully configurable per job and minimum grade.
🧰 PANEL ACCESS OPTIONS
Open via command + keybind, or enable item-only mode to require a physical tablet/sonar item.
🔔 REAL-TIME DELIVERY
Alerts trigger:
Phone notification
Custom alert sound (per-user volume control)
Optional flashlight strobe
Optional auto-open phone behavior
🕵️ ANONYMOUS MODE
Hide sender name while still showing rank and job label.
👤 PER-USER SETTINGS & PRIVACY
Each player can:
Adjust sound volume
Switch light/dark theme
Filter alert categories
Hide specific alerts by ID
Hide sender name or rank
Clear personal alert history
All settings are saved in the database.
🧾 ANTI-SPAM & WORD FILTER
Server-side cooldowns, blocked word filtering, and validation checks to prevent abuse.
⏳ AUTO-EXPIRATION & CLEANUP
Alerts can expire automatically with scheduled cleanup.
💾 MYSQL PERSISTENCE (OXMYSQL)
Alerts and user settings are stored and restored automatically.
📡 DISCORD WEBHOOK LOGS
Staff audit logs (full identifiers, permissions, and alert details)
Optional public in-character embed with role mentions and custom images
🔌 DEVELOPER API
Client and server exports included to:
Send alerts from other scripts
Open the panel programmatically
Retrieve alerts
Read and update user settings
Auto-detected compatibility with:
ESX / es_extended
QBCore / qb-core
QBX / qbx_core
lb-phone
PolyZone
oxmysql