Price
UnknownA script by SinorSystem
Price
UnknownAutomatic crash events on configurable cooldowns.
Lootable crates with randomized items and quantities.
Optional fire and smoke effects for immersion.
Configurable blip, icon, and color.
Server-wide synchronization — everyone sees the same crash.
Works with QBCore and ESX.
Supports qb-target and ox_target.
Auto-syncs for players who join mid-event.
QBCore or ESX.
qb-target or ox_target.
ox_lib.
Config = {}
Config.Framework = 'QBCore' -- 'ESX' or 'QBCore'
Config.TargetSystem = 'qb-target' -- 'ox_target' or 'qb-target'
Config.crashCooldown = 3600 -- in seconds (1 hour) for every crash 3600
Config.DespawnTime = 10 -- Minutes before crash site disappears
Config.AdminCommand = 'createCrashSite' -- to create a crash site
Config.Translate = {
-- Notify
looted = "You looted %dx %s",
-- Announce
title = 'Crash Sites',
description = 'A Crash Occurred! Check Your Map.'
}
-- all crash sites and there settings
Config.Crashes = {
-- small plane
[1] = {
sites = {
vector3(2281.31, 3434.53, 64.1),
vector3(1697.84, 2503.62, 44.43),
vector3(1420.7, 2049.75, 117.35)
-- add more sites here
},
Model = "prop_shamal_crash", -- Wreck model
LootProp = 7, -- Number of loot props at crash site
LootObjects = { "gr_prop_gr_rsply_crate03a", "prop_drop_armscrate_01b" }, --loot props models
LootTable = { -- items that you receave from looting the props
{ item = "weapon_pistol", min = 1, max = 1 },
{ item = "bandage", min = 1, max = 5 },
{ item = "meth", min = 1, max = 2 }
},
blipsettings = {
showblip = true,
blink = true,
blipicon = 251,
blipscale = 1.6,
blipcolor = 66,
blipname = "Plane Crash Site"
},
fire = true, -- if the crash site is on fire
firescale = 2.5, -- scale of the fire
smoke = true , -- if theres smoke out of the crash site
smokescale = 5.0 -- scale of the smoke
},
-- heli
[2] = {
sites = {
vector3(1355.89, 4327.49, 37.97),
vector3(347.02, 5189.94, 476.32),
vector3(-1954.02, 3875.08, 230.97)
},
Model = "prop_crashed_heli",
LootProp = 5,
LootObjects = { "gr_prop_gr_rsply_crate03a", "prop_drop_armscrate_01b" },
LootTable = {
{ item = "weapon_pistol", min = 1, max = 1 },
{ item = "bandage", min = 1, max = 3 },
{ item = "meth", min = 1, max = 2 }
},
blipsettings = {
showblip = true,
blink = true,
blipicon = 753,
blipscale = 1.6,
blipcolor = 66,
blipname = "Heli Crash Site"
},
fire = true,
firescale = 2.5,
smoke = true ,
smokescale = 5.0
},
-- big plane
[3] = {
sites = {
vector3(3501.53, 2567.07, 9.89),
vector3(-1444.11, -1301.7, 2.85),
vector3(997.4, -3191.67, 4.9),
vector3(-1533.44, -2862.48, 13.31),
vector3(1247.47, 3089.63, 39.86)
},
Model = "xs_combined2_dystplane_10",
LootProp = 15,
LootObjects = { "gr_prop_gr_rsply_crate03a", "prop_drop_armscrate_01b" },
LootTable = {
{ item = "weapon_pistol", min = 1, max = 1 },
{ item = "bandage", min = 1, max = 3 },
{ item = "meth", min = 1, max = 2 }
},
blipsettings = {
showblip = true,
blink = true,
blipicon = 16,
blipscale = 1.6,
blipcolor = 66,
blipname = "Big Plane Crash Site"
},
fire = true,
firescale = 2.5,
smoke = true ,
smokescale = 5.0
},
-- train
-- note : this train model dont have collision
[4] = {
sites = {
vector3(2606.01, -16.28, 92.4),
vector3(2103.24, 6136.21, 59.47),
vector3(-218.43, -1073.48, 28.29),
vector3(162.01, -1795.72, 28.22)
-- add more sites here
},
Model = "p_tram_crash_s",
LootProp = 4,
LootObjects = { "gr_prop_gr_rsply_crate03a", "prop_drop_armscrate_01b" },
LootTable = {
{ item = "weapon_pistol", min = 1, max = 1 },
{ item = "bandage", min = 1, max = 3 },
{ item = "meth", min = 1, max = 2 }
},
blipsettings = {
showblip = true,
blink = true,
blipicon = 795,
blipscale = 1.6,
blipcolor = 66,
blipname = "Train Crash Site"
},
fire = true,
firescale = 2.5,
smoke = true ,
smokescale = 5.0
},
-- boat
[5] = {
sites = {
vector3(-2058.21, 5133.45, -0.36),
vector3(1783.14, -2820.4, 0.8),
vector3(2348.06, 4493.51, 29.48)
},
Model = "hei_prop_heist_tug",
LootProp = 15,
LootObjects = { "gr_prop_gr_rsply_crate03a", "prop_drop_armscrate_01b" },
LootTable = {
{ item = "weapon_pistol", min = 1, max = 1 },
{ item = "bandage", min = 1, max = 3 },
{ item = "meth", min = 1, max = 2 }
},
blipsettings = {
showblip = true,
blink = true,
blipicon = 755,
blipscale = 1.6,
blipcolor = 66,
blipname = "boat Crash Site"
},
fire = true,
firescale = 2.5,
smoke = true ,
smokescale = 5.0
},
}
QBCore/ESX|BaseBuilding
Standalone|AdvancedZombieSystem
Standalone|SurvivalHUD
Standalone|VehicleSpawne
QBCore/ESX|UsableItems
QBCore/ESX|VehicleCrafting
QBCore/ESX|Recycler
Standalone|SafeZone
QBCore/ESX|LootAreas
QBCore/ESX|LootPeds
QBCore/ESX|RadiationZones
Standalone|ZombieSystem
QBCore|Shop
QBCore|WeatherSync
QBCore/ESX|InGameMusic
QBCore/ESX|CamperHousing
standalone|SurvivalHUD
QBCore/ESX|LootBags
Vehicles|ApocalypticVehicles-V1
QBCore/ESX|HorseRiding
QBCore/ESX|Menu
| Code is accessible | N/A |
| Subscription-based | No |
| Lines (approximately) | 280+ |
| Requirements | ox_lib |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.