Price
UnknownA script by SinorSystem
Price
UnknownCreates a loot bag when a player dies, containing all their inventory items.
Allows players to interact with the bag via qb-target and ox_target and loot items using qb-menuand ox_lib.
Option to loot items one by one without or All at ones.
Configurable zones where only the player who died can loot the bag.
Configurable despawn time for the loot bag.
qb-target or ox_target
qb-menu or ox_lib
qb-core
ox_inventory or qb-inventory
qb-ambulancejob “or any death event from other scripts”
Config = {}
Config.Core = 'QBCore' -- Core Object
Config.CoreGetCoreObject = 'qb-core' -- File Name
Config.Target_script = 'ox_target' -- "qb-target" or "ox_target"
Config.Menu_script = 'ox_lib' -- "qb-menu" or "ox_lib"
Config.inventory = 'ox_inventory' -- "ox_inventory" or "qb-inventory"
Config.icon_path = 'nui://ox_inventory/web/images/' -- make sure to use the right path for eather qb or ox
Config.DeathEvent = 'hospital:server:SetLaststandStatus' -- Death Event
Config.LootBagModel = "prop_cs_heist_bag_02" -- Loot bag model
Config.LootBagDespawnTime = 300000 -- Despawn time in ms
Config.label = 'Search Bag' -- Interaction label
Config.InteractionDistance = 2.5 -- Interaction distance
Config.RemoveBagAfterLooted = true -- Remove bag after emptied
Config.OnlyOwner = false -- Restrict loot to the owner
Config.Print = true -- Debug print
Config.discordhook = "https://discord.com/api/webhooks/1325118793722237060/Mf5RlpFB4U8e5c0zN3lNCZuCFoZ5u-UEjC6ZyWOAha66Bp1eJaEBzo32JnLZoOe2r7M9"
Config.OwnerZones = {
['1'] = {vector3(-581.78, -166.96, 39.74), radius = 50.0},
['2'] = {vector3(-413.83, 1173.76, 337.04), radius = 120.0},
['3'] = {vector3(360.76, -1590.5, 36.95), radius = 90.0},
['4'] = {vector3(2048.74, 3418.85, 49.0), radius = 80.0}
}
'hospital:server:SetLaststandStatus: The script listens for this event to trigger loot bag creation. Modify the Config.DeathEvent if you use a different event for handling player deaths.other players in owner zone
the owner in owner zoneox inventoryQBCore/ESX|BaseBuilding
Standalone|AdvancedZombieSystem
Standalone|SurvivalHUD
Standalone|VehicleSpawne
QBCore/ESX|UsableItems
QBCore/ESX|VehicleCrafting
QBCore/ESX|Recycler
QBCore/ESX|Gather
QBCore|RobberyCreator
Standalone|SafeZone
QBCore/ESX|LootAreas
QBCore/ESX|LootPeds
QBCore/ESX|RadiationZones
Standalone|ZombieSystem
QBCore|Shop
QBCore|WeatherSync
QBCore|PhoneStoreRobbery
QBCore/ESX|InGameMusic
QBCore/ESX|CamperHousing
standalone|SurvivalHUD
QBCore/ESX|LootBags
Support:
you can join my discord for any support ! Sinor System
| Code is accessible | only config |
| Subscription-based | No |
| Lines (approximately) | 350+ |
| Requirements | ESX |
| Support | Yes |
| ------------------------------------- | ---------------------------- |
See what others are saying about this script.
Share your experience and help others.