🧊
Yetti Development
Tebex StoreSupport Discord
  • Introduction
  • 💲Paid Scripts
    • Yetti Tokens ( WIP)
      • Showcase
      • Installation/Configuration
  • 🆓Free Scripts
    • Yetti Life(s)
      • Showcase
      • Commands List
      • Installation
    • Yetti Evidenceboxes
      • Showcase
      • Installation/Configuration
    • Yetti Rob Containers
      • Showcase
      • Installation/Configuration
Powered by GitBook
On this page
  • Installing Dependencies
  • Configurating The Script
  1. Free Scripts
  2. Yetti Evidenceboxes

Installation/Configuration

Steps how to setup our Evidence Boxes script, if the script has any issues and you did the installation correctly please create a modmail on our discord.

PreviousShowcaseNextYetti Rob Containers

Last updated 1 year ago

Installing Dependencies

Make sure you install the latest versions and follow the documentation of the scripts, the evidence boxes script needs to start after all the dependencies start!

Configurating The Script

Here is the default config file, in case you want to reset it.

The things which you should configure first are the locations and the jobs, locations are where the boxes spawn at, in the default config the locations are in the default MRPD station. Next changing the jobs, as if the players don't have the needed jobs they cannot open the boxes.

config.lua
Config = {}

Config.Debug = false -- Toggle debug - true / false

Config.Model = `v_res_filebox01` -- The model of the evidence box

Config.BoxLocations = { -- Where the boxes are created at
   [1] = { coords = vector4(462.2334, -1003.0744, 24.9148, 270.2914) },
   [2] = { coords = vector4(462.3722, -999.7912, 24.9149, 270.2914) },
   [3] = { coords = vector4(462.2588, -995.8603, 24.9149, 270.2914) }
}

Config.StashLabel = 'CPZ Box %s' -- The name when the stash is open
Config.StashSlots = 50 -- Number of slots in the stash
Config.StashWeight = 50000 -- Max weight of the items inside the stash, 1000 = 1kg
Config.AccessJobs =  {['police'] = 0, ['usa'] = 0} -- The jobs that can open the boxes // Reccomended to set to your police job

-- Target Configuration
Config.TargetIcon = 'fa-solid fa-box'
Config.TargetLabel = 'Open CPZ Box: %s'
Config.TargetDistance = 5
🆓
ox_lib
ox_target
ox_inventory