STANDALONE dp-evidencebag - Advanced Evidence Bag System

SaifNeon

Administrators
Joined
Apr 25, 2022
Messages
931
Credits
50,143
dp-evidencebag - Advanced Evidence Bag System

Please, Log in or Register to view URLs content!

Overview​

dp-evidencebag is a sophisticated evidence bag system for FiveM servers using ox_inventory. This script allows law enforcement officers to collect, store, and transport evidence in a realistic manner, enhancing roleplay during crime scene investigations and evidence processing.

Features​

  • Secure Evidence Storage: Each evidence bag has its own unique inventory
  • Unique Identifiers: Every evidence bag gets a unique serial number for tracking
  • Multilingual Support: Fully supports English and Czech languages
  • Seamless Integration: Works perfectly with ox_inventory
  • User-Friendly: Simple interface with progress bars and notifications
  • Realistic Animations: Includes animations for opening evidence bags
  • Customizable: Easily configure slots, weight capacity, and more

Video Preview​


Dependencies​

  • ox_inventory
  • ox_lib

Installation​

  1. Download the latest release
  2. Extract the folder to your resources directory
  3. Add the item to your ox_inventory/data/items.lua:

['paperbag'] = {
label = 'Evidence Bag',
weight = 100,
stack = true,
close = true,
description = 'Used to collect and preserve evidence',
image = 'paperbag.png', -- Make sure to add this image to your inventory images
useable = true,
client = {
export = 'dp-evidencebag.openEvidenceBag'
}
},

  1. Add ensure dp-evidencebag to your server.cfg
  2. Restart your server

Configuration​

You can easily configure the script by editing the config.lua file:


Config = {}

-- Item name used for the evidence bag in your inventory
Config.EvidenceBagItem = 'paperbag'

-- Storage capacity settings
Config.EvidenceBagStorage = {
slots = 30, -- Number of slots in each evidence bag
weight = 34000 -- Total weight capacity in grams
}

-- Language settings (en or cs)
Config.Language = 'en'

-- Debug mode for troubleshooting
Config.DebugMode = false

Usage​

  1. Add the evidence bag item to players’ inventory through your preferred method (item shops, /give commands, etc.)
  2. Players can use the evidence bag from their inventory
  3. They can store items inside by dragging them into the evidence bag’s inventory
  4. Each evidence bag gets a unique serial number for tracking purposes

Language Support​

The script currently supports:

  • English (en)
  • Czech (cs)
You can easily add more languages by adding new entries to the Config.Locales table.

Commands​

None required - all functionality is accessed through the inventory interface.

Download​

Please, Log in or Register to view URLs content!
 
Back
Top Bottom