Skip to content

Findings, lockers & evidence ​

After a wand run (or a pat-down) the operator gets the findings sheet: a body map with the zones that rang and the items behind them. Every finding then gets one of three decisions: return, hold in a locker, or seize as evidence.

Findings sheet

The sheet ​

  • Body map with numbered markers per zone and side, and the coverage of the front and the back. Zones that were never swept are not known.
  • Weapons, suspicious items and everyday metal, sorted by threat. Everyday metal below the venue's threshold is folded into one row (Config.Findings.foldEveryday) and only shows names once revealed.
  • Unrevealed findings show a class, a zone and a side, never a name. Only a pat-down of that zone (or a full search) reveals it. Revealed rows show the label, count, serial (inventory items), ammo (loadout weapons) and where it comes from: GTA loadout or Inventory.
  • Detail panel for the selected weapon: the visitor's permit (with np_identification: a valid weapon_license of the right category), the serial, and the venue rule that applies.
  • Identity. Request ID asks np_identification for the visitor's card; without it the name is the framework name. The sheet notes ID shown and the request is logged.
  • Non-metal items never show (cash, drugs, ceramic blades). Only a full search finds them.

Unrevealed findings

The sheet is server-owned: the browser only receives names for revealed items. Every action needs the operator within Config.Findings.distance (3 m) of the visitor, on duty, and the operator of the session (override staff may act on any).

Full search opens the visitor's inventory for the operator (np_inventory, ox_inventory or qb-inventory). It is limited to Config.Findings.searchJobs (police) and to the venues in Config.Findings.searchVenues (for example { courthouse = true }); override staff always may. It is logged as search.

Decisions ​

Select findings and press a decision. The whole selection is checked before anything changes, each key can be decided only once, and a decision on a non-everyday item needs it to be revealed (returning small everyday metal needs no pat-down).

Decision What happens
Return The finding stays with the visitor. Allowed only if the venue's rules allow it: not a banned class; a firearm or blade needs the venue to allow weapons, and where the venue asks for a permit the visitor needs a valid one (returnNeedsPermit). Override staff may always. The beforeReturn hook may veto. Fires returned
Hold in locker A loadout weapon or inventory item goes into the visitor's locker at this venue and the visitor gets a claim ticket. Needs lockers at the venue (rules.lockers or a locker scanner). The fee is charged first
Seize as evidence The items are taken from the visitor and a case is opened. Police on duty are told. Only revealed loadout weapons and inventory items can be seized (body metal cannot)

When every weapon and suspicious item and every revealed everyday item is decided, the session closes (Config.Findings.closeOnApply) and the sheet closes with it.

Loadout weapons. A GTA weapon that is not an item is removed with the framework (ESX removeWeapon, otherwise the ped) and stored as the item seized_weapon with { weapon, hash, ammo, components, label, metal }, so it can be given back exactly. A seized gun is still a gun to the next gate. Only a weapon the server can see can be taken: one in the ESX loadout, or the weapon in the ped's hand. A client claim alone cannot mint a weapon.

After a seizure, if configured: np_identification adds license points to the visitor's weapon licence (Config.Permits.seizurePoints, 1 point), np_payments invoices a fine to the police society (Config.Siblings.payments.seizureFine above 0), and np_gangs raises police attention on the turf (Config.Siblings.gangs.seizureAttention).

Lockers ​

A venue has lockers when its rules say lockers = true or when it has a scanner of type locker. Visitors hand weapons and banned items over and get a claim ticket instead of being turned away. They can do it themselves from the divest tray (Declare → Locker) or an operator can do it from the findings sheet.

  • Fee. rules.lockerFee is charged once per locker (0 = free): np_payments silently when it runs, otherwise cash, then bank (Config.Lockers.feeAccounts). A second deposit into the same locker is free and moves the expiry. A fee that cannot be paid cancels the deposit; a deposit that fails after the charge is refunded.
  • The stash. Items sit in npms_locker:<venue>:<owner> (slots 20, 60000 g). Without stashes (ESX inventory, none) the items are kept as a list in scanner_lockers and come back from there.
  • The ticket. One locker_ticket per locker with { venue, locker, expires, label }. If the pockets are full the visitor is warned; the locker still exists.
  • Getting the items back.
    1. Leave the venue. Beyond the venue radius plus leaveMargin (and away from the locker points) the items come back by themselves (autoReturn). The client reports it and a server sweep every sweepSeconds backs it up; the server always checks the position.
    2. At a locker point. Use the ticket from the inventory or E at the point (also Claim in the Permits app). It works only within pointDistance (2.5 m).
    3. If the pockets are full, what does not fit stays in the locker.
  • Expiry. After Config.Lockers.hours (24) the locker expires and its items move to the venue's lost and found stash npms_lostfound:<venue> (100 slots), which on-duty operators open at a locker point. The ticket is removed.
  • Events lockerStored and lockerReturned, the hooks beforeLocker and beforeReturn, and the log kind locker.

Evidence & cases ​

Every seizure creates a case, shown as C-0042 (Config.Cases.refFormat):

A case

  • What it keeps: venue, post, operator and subject (names and identifiers), the findings as the sheet showed them (names only for revealed items), the decisions, the seized items, the status and the evidence inventory.
  • Evidence inventory. With np_inventory the items go into its evidence inventory of that case; with other inventories into the stash npms_evidence:<case> (50 slots, 200 kg, police jobs); without stashes the case record holds the only copy. Whatever does not fit goes back to the visitor.
  • Status. open → handed (given to another job such as the police) → closed.
  • Who can do what. Staff with np_metal-scanner.logs, on-duty police (readJobs) and the operators of the case's venue can read it. Police or override staff close a case, open its evidence inventory and release the evidence (back to the subject if online; the case closes). Anyone who can read may hand a case off.
  • Notifications. On a seizure the on-duty police (Config.Cases.notifyJobs) get a toast with the reference, the venue, the first item and the subject. The Checkpoint app lists the cases, see Checkpoint app.
  • Other resources create cases with the CreateCase export and read them with GetCase. A case carries an mdt field for an MDT reference.
  • Events seized and caseCreated, hooks beforeSeize and afterSeize, log kinds seized, case and returned.