Item

Essential component for script execution.

Image
Item Name
Description

surgical_gloves

Mandatory equipment to collect evidence without contaminating it.

evidence

Sample container for storing and analyzing evidence collected at crime scenes.

evidence_empty

Sterile container needed to collect and store physical evidence at crime scenes.


Config (ox_inventory)

ox_inventory/data/items.lua
{
  ...,
  ['surgical_gloves'] = {
    label = 'Gants chirurgicaux',
    weight = 25,
    stack = true,
    close = true,
    consume = 0,
    client = {
      export = 'mxrveuh_evidence.surgical_gloves'
    }
  },
  ['evidence_empty'] = {
    label = 'Preuves vides',
    weight = 1,
    stack = true,
    allowArmed = false,
    consume = 0
  },
  ['evidence'] = {
    label = 'Preuves',
    weight = 300,
    stack = true,
    allowArmed = false,
    consume = 0,
    buttons = {
      {
        label = 'Analyser la fiche',
        action = function(slot)
          TriggerServerEvent('mxrveuh_evidence:analysePlug', slot)
        end
       }
    }
  },
}

Remember to include the images in the ox_inventory/web/images directory. The attached file contains images of the items.

Image Item

Dernière mise à jour