Car Bomb
Plant a bomb on a vehicle and it goes off when the engine starts. Police and mechanics can sweep cars and defuse bombs, and training dummies let departments practise safely.
Framework: Qbox. Requires: oxmysql, ox_lib, ox_inventory. Optional: kartik-mdt (police alert), kartik-evidence (fingerprints), GR1M_Mech (mechanics can sweep).
#Install
- Add the items in
install/ox_inventory-items.luatoox_inventory/data/items.lua(car_bomb,bomb_sweeper,car_bomb_training). ensure GR1M_CarBombafter ox_inventory.- Admins:
add_ace group.admin gr1mcarbomb.admin allow(thecommandace also works).
#Features
- Plant with a progress bar near a vehicle; optional fingerprint left on the car
- Random fuse after ignition with a beep inside the car, stacked explosions, camera shake
- Police and mechanics sweep a car to find a bomb, then defuse it with a skill check; a failed defuse can set it off
- Training bombs: same flow, harmless pop, no alert or evidence, returned to the defuser
- Police alert and evidence when kartik-mdt / kartik-evidence are running
- Jobs that can't plant, jobs that can sweep, duty rules and expiry
#Config
config.lua holds first-run defaults. Live values are saved in the database and edited in game with /carbombadmin.
Support: https://discord.gg/m38m33G6jK
GR1M