๐ AIRBAG SCRIPT โ Realistic Airbag System for FiveM
Version: 1.0.0
Developer: NX-MODDING
Category: Vehicle / Mechanics / Roleplay
๐ Description
The Nebula Airbag System is a state-of-the-art, fully automatic airbag script for FiveM that brings a new level of realism to your roleplay server.
Upon a collision above a configurable speed (default: 30 km/h), the airbags deploy with visible props on the driver and passenger side. The vehicle is automatically immobilized (engine off, undriveable), the hazard lights turn on, and an emergency call is sent to dispatch system.
Firefighters can deactivate the airbags via ox_target and make the vehicle fully drivable again.
โก Features at a Glance
Feature Description
Automatic Deployment Triggers on collision above configurable speed (default: 30 km/h)
Realistic Airbag Props Visible driver and passenger airbags
Vehicle Immobilization Engine off, undriveable, engine health & fuel set to 0 (optional)
Hazard Lights Automatically activated upon deployment
Dispatch Emergency Call Fully configurable (job, message)
Notification System Integration with Nebula-Notification (or chat fallback)
Firefighter Deactivation Via ox_target with job check
Manual Command /airbag โ for RP situations or testing
Vehicle Class Exclusion Motorcycles, bicycles, tanks, planes (editable)
Full Configuration All parameters in config.lua
Keymaster-ready Core script encrypted, config open for customers
Performance Optimized Minimal resource usage, 100 ms check interval
๐ Required Dependencies
Resource Link Required
ox_target https://github.com/overextended/ox_target โ Yes โ for deactivation via targeting
EmergencyDispatch https://love-rp.tebex.io/package/4887641 โ Yes โ for emergency calls
Nebula-Notification yes
ESX / QBCore โ โ ๏ธ Required for job detection
Note: EmergencyDispatch is an all-in-one solution for fire department, EMS, and police. It supports both ESX and QBCore (auto-detected).
๐ฆ What's Included
text
Nebula-Airbag/
โโโ fxmanifest.lua (Keymaster-ready)
โโโ config.lua (fully commented, customer-editable)
โโโ cl_airbag.lua (encrypted โ core logic)
โโโ documentation.html (bilingual documentation DE/EN)
โโโ stream/
โโโ prop_car_airbag.ydr
โโโ prop_car_airbag.ytyp
โ๏ธ Configuration Options (config.lua)
Parameter Description Default
collisionSpeedThreshold Speed in km/h above which the airbag deploys 30.0
secondsToExpire Seconds until airbags disappear automatically 60
SendDispatch Send an emergency call? true
DispatchJob Job shown in dispatch "fire"
DispatchMessage Emergency call message text "Airbag deployed in %s at %s"
EnableNotifications Show notification? true
DisableEngine Turn engine off? true
SetUndriveable Make vehicle undriveable? true
EnableHazardLights Activate hazard lights? true
EnableManualCommand Enable /airbag command? true
AllowedDeactivationJob Job allowed to deactivate "fire"
ExcludedVehicleClasses Vehicle classes without airbags { 8, 13, 15, 16 }
๐ฎ Commands
Command Description Permission
/airbag Manually deploy airbag (driver only) All players (configurable)
๐ Exports & Events (for Developers)
Export / Event Side Description
exports['Nebula-Airbag']:TriggerAirbag() Client Manually trigger airbag
exports['Nebula-Airbag']:DeactivateAirbag(vehicle) Client Deactivate airbag on a vehicle
TriggerEvent('Nebula-Airbag:SendDispatch', vehicle, message) Server Manually send an emergency call
๐ฅ๏ธ System Requirements
FiveM Server (Latest Version)
ox_target โ installed and started (GitHub)
EmergencyDispatch โ installed and started (Tebex)
ESX Legacy or QBCore โ for job detection
๐ Documentation
A full bilingual documentation (DE/EN) is included (documentation.html), covering:
Installation
All configuration options
Exports & events
FAQ & support
โ Key Benefits
Realism โ Airbags, hazard lights, engine shutdown
Performance โ No frame drops, optimized collision detection
Flexibility โ Fully configurable
Security โ Core script encrypted (Keymaster)
Support โ Fast and friendly support via Discord
๐ก๏ธ Support & Updates
Support: Via Discord โ quick help with any issues
Updates: Free updates within the major version
License: One-time purchase โ unlimited use on one server
๐ฐ Price & License
Price: [10โฌ]
License: Single-server license
Payment: One-time, no hidden fees
๐ Purchase & Download
[Buy Now] โ [Live Demo] โ [Documentation]
๐ Contact
Developer: Nebula Development
Discord: https://discord.gg/tKn3xauH4g
