About This File
Smart Airbag - Resource
This premium resource is a great addition to any roleplay server, providing a more realistic vehicle crash experience. This will ultimately enhance roleplay for those involved in a collision, allowing airbags to be activated automatically but also manually using a command.
This plugin features a airbag model created by London Studios. This works with all vehicles except cycles, motorcycles, planes and helicopters. Some vehicles the airbag may not be in the correct position.
Full Features:
- Automatic Airbag Deployment - These will not deploy on a small crash, the vehicle must be sufficiently damaged to deploy the airbags, in which two will deploy - one for the driver and one for the passenger.
- Universal - These will work on almost every vehicle.
- Manual Deployment - The /airbag command allows for manual deployment, enhancing RP on a scene.
Framework Integration:
- Permission checks - You can easily edit the cl_airbag.lua file to add permissions or make changes.
Configuration:
- On line 3 of cl_airbag.lua, you can set the level of damage to detect, for an automatic deployment.
- On line 6 of cl_airbag.lua, you can set the number of seconds after airbags are automatically deployed before deleting.
Edited by Meech