Home / Documentation / Sal's Kewl Evidence
Sal's Kewl Evidence — owner's manual
Crime scene forensics for FiveM law enforcement: numbered evidence tents, latent evidence you sweep for, ballistics with trajectory rods and a solved firing position, a fingerprint scanner a suspect can refuse, camera mode, a forensic light and luminol, chain of custody, evidence rooms, a working lab and its national indexes. This manual covers installation, configuration, daily use and troubleshooting for server owners.
Part 1
Start here
What the resource is, what it needs, how to install it, how its settings work, and what changes when you move up from 1.x.
1.1 What Sal's Kewl Evidence is
Sal's Kewl Evidence (sals_kewlevidence) turns a
crime scene into work your officers do by hand. They open a scene, tape it off,
sweep it for what nobody can see yet, number and photograph what they find, bag it,
book it into an evidence room and send it to the lab. Every step lands in a chain of
custody that never forgets who touched what.
The model is the one real forensic units use:
- Scene. A cordoned area tied to a case number
(
2026-00042, resetting each year). Everything collected inside it belongs to that case. - Evidence. One numbered item. It is discovered (latent items are invisible until someone searches), then documented (photographed or measured), then collected into an officer's custody, then stored in an evidence room, then optionally analyzed at the lab.
- Marker. The numbered tent beside an item. The number is what appears in photographs and in the report.
- Trajectory. A rod placed on an impact shows the flight path with an honest error cone. Two or more rods solve a firing position.
- Serial. Every fired weapon leaves marks tied to its serial, so the same gun links across cases.
- Chain. Every touch of an item appends to its chain of custody. Nothing is ever silently edited.
The beta ships its own streamed prop pack: real numbered tents, POLICE LINE tape, casings on the ground, a fingerprint scanner whose screen follows the reading, an evidence camera, a forensic light and a lab bench set. It also connects to the rest of the Sal's Kewl line (the CAD, dispatch, the Public Safety Simulator, EMS, the pagers and NPC AI), and every one of those connections is optional.
Server-authoritative throughout. The player's game asks; the server decides. Positions are read off the officer's ped, never taken from what the game sends, and latent evidence nobody has found is never sent to any game at all.
1.2 Requirements and integrations
Runs on qb-core, qbx_core, ESX or standalone, with or without a database. Nothing is a hard dependency: everything below is detected at start and skipped when it is absent. It works on a bare standalone server with none of it.
| Optional | What it adds |
|---|---|
oxmysql / mysql-async | Database persistence. Without either, flat JSON files are used. |
ox_lib / progressbar | Progress bars. Without either, a built-in drawn bar is used. |
ox_inventory / qb-inventory | Item checks and real weapon serials. |
ox_target / qb-target | Evidence room counters as target zones. Without either, an E prompt. |
screenshot-basic | Real photographs attached to evidence records. |
wasabi_ambulance, wasabi_ambulance_v2, qbx_medical, qb-ambulancejob, esx_death | Tells the print scanner who is down. Without one, ped health is used. |
Sal's Kewl integrations
Each one is found at start and looked for again every 30 seconds for the first ten
minutes (then every two), so start order does not matter.
/evidenceadmin → Connections shows each one as connected,
not found, problem or turned off, with the reason. Turn any of them off under
Config.Integrations.
| Resource | What it adds |
|---|---|
Sal's Kewl CAD (sals_kewlcadbridge) | Every scene becomes a CAD investigation and every collected or seized exhibit an evidence record with its full chain, lab results, photographs and reports. The CAD's tag (E26-0001) shows beside the item number. Photographs upload straight to the CAD. "Run serial" asks the CAD's records; "Open in CAD" opens the MDT's evidence form. A release or destroy asked for in the CAD web app is carried out in game when that user's rank allows it. |
Sal's Kewl Dispatch (sals_kewldispatch) | A scene opened near a call links to it, and the call gets notes as the scene is worked. "Send me a crime scene unit" on the radio requests one. Its pagers carry CSI callouts and lab results. Its wheel carries evidence's actions. |
Public Safety Simulator (sals_kewlpublicsafetysimulator) | Property seized on its calls is filed automatically. Its calls leave real latent evidence (a suspect's brass matches their gun), its scenes link to yours, its outcomes score how the evidence was handled, booked prisoners are printed, and its reserve officer can be ordered to mark, bag and book. |
Sal's Kewl EMS (sals_kewlems) | A gunshot or stab wound inside a scene leaves the victim's blood as an exhibit and a case note naming the wound and the weapon. |
sals_kewljobnotify / sals_kewlpspager | CSI callouts and lab results when dispatch is not running (add a csi and a lab service to jobnotify). |
sals_kewlnpcai | A statement taken from a witness inside a scene is filed as a document exhibit. |
sals_kewlailink (hosted communities) | "Draft with AI" in the report editor. The draft lands in the editor for the officer to edit; nothing is filed by it. |
1.3 Installation
- Drop the
sals_kewlevidencefolder into your server'sresources/directory. Keep thestream/folder inside it: that is the prop pack, and the resource loads it itself. There is nothing else to install or stream. - Add it to
server.cfg:ensure sals_kewlevidence - Give yourself admin access, either way:
or runadd_ace group.admin sals_kewlevidence.admin allow/evidenceidin game and paste yourlicense:identifier intoConfig.Admin.Identifiers. - Run
/evidenceadmin. Set your job names first (Configuration → Access & ranks); everything else has sensible defaults. - Optional: paste the item definitions from
items/into your inventory (5.3).
Database tables are created automatically on first start. There is nothing to import.
First join after installing or updating: players download the prop pack (about 4.4 MB) once. Until a player's game has it, they see base-game stand-ins and drawn markers; the real props swap in on their own, without a reconnect.
1.4 How settings work
defaults.lua holds the defaults, each one commented in
plain language. Nearly everything in it is also editable in game from
/evidenceadmin, and a save applies to every connected player at once: no
restart, no relog.
The panel writes its changes to data/overrides.json, which is laid
over defaults.lua at every start. Delete that file to go back to exactly
what defaults.lua says. The panel keeps rolling backups and restores the
last one in one click.
- Settings are saved key by key. Only whitelisted keys can be reached from the panel: webhook URLs cannot.
- Collections (evidence types, evidence rooms, the scene kit, lab
tests, report templates) are saved whole. Once you save one from the panel, the
saved copy replaces the one in
defaults.lua, so a later change to that list indefaults.luadoes nothing until you remove it fromdata/overrides.json. - Command names and keybinds are registered at start; renaming one needs a restart. The panel says so.
1.5 Upgrading from an earlier build
0.5.0-beta is a large update. Read this before you drop it over an earlier build.
- The resource streams a prop pack now. Keep the
stream/folder. The manifest registers the pack itself (data_file 'DLC_ITYP_REQUEST'). Nothing breaks without it, but you lose the props. - Start from the new
defaults.luaand copy your changes across. The beta adds many sections (the prop pack'sTents,Ground,Rods,Stream, the camera, the light, counter-forensics, the bench, the indexes, the NPC detective, the integrations), and the prop pack's features stay off without their sections. - Default prop models changed. Each scene kit entry and held prop
the pack has a model for now names it first, with the old base-game model as its
stand-in. If you saved your scene kit from the panel, your saved kit
is used and stays on the old models: set each model in the panel, or delete
propsfromdata/overrides.jsonto take the new defaults. - Marking no longer drops a traffic-cone tag where the numbered tent can stand. The tent is the marker.
Config.Props.Tape.Modelis gone. It was never used. The pack's tape replaces it; the drawn ribbon is its fallback.- "Work it" on a ballistics, DNA or print job opens the bench
puzzle (
Config.Lab.HandsOn.Enabled = true). Turn it off to process those straight from the queue as in 1.x. detectiveis now inConfig.Access.ForensicsJobs, and the newConfig.Access.CsiJobslists who is paged for a crime scene unit.- The CAD gets a copy of everything when
sals_kewlcadbridgeruns, and a release or destroy done in the CAD web app is carried out in game.Config.Integrations.Cadturns either off.
Existing cases, evidence, prints and serials carry over untouched.
Part 2
The prop pack
198 purpose-built models that ship inside the resource, what each one does, and what happens on a game that does not have them yet.
2.1 What is in the pack
stream/ holds 198 models (skk_ev_*) in 12 shared texture
dictionaries, 4.4 MB in all. Every model has three levels of detail, and small items
drop out past about 25 m.
| What | Where you see it | Without the pack |
|---|---|---|
| Numbered evidence tents: yellow 1-99, orange 1-20 (latent prints), red 1-20 (biological) | Next to every marked exhibit | The drawn marker and floating number |
| Casings (9mm, .45, 5.56, 12-gauge hull), a fired bullet, blood pools (small, medium, large), a shoe print | Under a discovered exhibit until it is collected | Nothing; the marker only |
| Delineator post and POLICE LINE tape spans | Cordons and tape runs | A bollard and the drawn ribbon |
| Trajectory rods in four colors | In each impact a rod is placed on | The drawn line only |
| Fingerprint scanner with five screens | In hand while printing | A small tablet |
| Evidence camera, forensic light, luminol sprayer, swab, GSR stub, print brush, marker stack, open evidence bag, tape roll | In hand during each action | Base-game look-alikes |
| Photo scale, stepping plate, evidence box, paper bag, firearm box, GSR kit, forensic scene tent | The scene kit | Base-game look-alikes |
| Evidence locker bank, intake window, lab bench, comparison microscope, fume hood, DNA thermal cycler, drying cabinet | The scene kit's Evidence room & lab dressing (rank 3) | Grayed out |
What each prop does
- Tents. Marking an exhibit, photographing it, or a detective
marking it stands the tent with its number beside it, turned to face the
middle of the scene. The color follows the evidence type
(
Config.Props.Tents.ByType, thenByCategory): latent prints orange, biological evidence red, everything else yellow. Orange and red stop at 20; past that the yellow tent of the same number is used. Past #99 the drawn marker stands in. The floating number is off over a real tent;Tents.ShowNumberturns it back on. - Ground evidence. Once an exhibit is discovered, the
thing itself lies there. A casing's caliber comes from the gun that fired it
(
Config.Props.Ground.Calibersmaps weapon names; an unknown gun goes by its name, then to 9mm). An impact gets the fired bullet, blood a medium pool (a large one for an EMS patient), a footwear impression a shoe print. Collecting the exhibit removes it. Blood a suspect bleached leaves no pool; luminol still finds it. - Tape. Between two of the pack's posts, real tape is strung tie to tie: 3 m spans and one shorter closing span (1 m to 2.75 m in 0.25 m steps), pitched to follow the ground. Between barriers or cones, posts more than 14 m apart, or on a game without the pack, the drawn ribbon is used.
- Trajectory rods. A colored rod stands in the impact, with the drawn line, laser and error cone on top of it.
- The scanner. The screen follows the reading: waiting for a finger, reading, match, no record (a first-ever print), refused.
- Held props. The open evidence bag while collecting, a swab for
blood and DNA, the powder brush for a latent print
(
Config.Props.CollectHeld), the GSR stub for a GSR swab, the marker stack while marking, the camera, the light and the luminol sprayer while they are in use. - Dressing. The lab and evidence room props are scene kit props
like any other: they belong to a scene and are cleared with it. Open a scene where
you are dressing, and turn
Config.Props.CleanupOnCloseoff if they must outlive it.
Tents, ground evidence, tape spans and rods are laid out
locally on each player's game from the scene the server already sends,
near the player only, capped at Config.Props.Stream.MaxObjects (300,
nearest first) and spawned a few at a time so a full scene never hitches. Nothing new
is networked. Everything is deleted when the resource stops.
2.2 Fallbacks and the probe
Every prop resolves through its pack model, then each base-game stand-in in order
(model and alts in Config.Props, and on each kit
row in the panel). A model that resolves to nothing is grayed out in the scene kit and
named once in the player's F8 console.
A model a game cannot find is not given up on: it is asked about again every
Config.Props.Stream.RecheckSeconds (5), and the real one is swapped in the
moment it appears, scene props included. A restart, or a player who joined before
the download finished, never leaves invisible props.
The probe
/evidenceprobe (admins), the Check prop models slice on
an admin's wheel, and the Check every prop model on this game button in
/evidenceadmin → Scene kit props all report every
configured model as it looks on your game:
| Status | Means |
|---|---|
| OK | This game has the model. |
| MISSING | It has not; the stand-in named beside it is used, or nothing is. |
| DRAWN | It has not; the game draws it instead (tents, tape, rods, ground evidence). |
The summary appears on screen and the full list goes to the F8 console. On a healthy install every pack model is OK.
To use your own model for a prop, put it in model from the panel and
keep a base-game model in alts as the safety net.
Part 3
Working a scene
What officers do at a scene, in the order they do it, and the settings behind each step.
3.1 Scenes, cordons and tape
/scene(or the wheel) opens a scene where the officer stands. Anything the world already remembers there (rounds fired, blood) becomes latent evidence.- Deploy the cordon lays a ring of posts with tape between them, or an officer runs tape by hand from the scene kit: drop a post, then the next, and each one is taped back to the last. Cancel the placement to end the run.
- While a cordon stands, AI traffic routes around the scene
(
Config.Scene.Cordon.CloseRoads;StopPedsalso keeps pedestrians out).
The posts and tape are physical: every player sees them, civilians included. The investigation (markers, rods, the cordon ring, the case) is law enforcement's alone.
While placing a prop: LMB place, RMB cancel, scroll to rotate, Shift for fine rotation, Q/E raise and lower. The server re-checks the distance before accepting a placement.
3.2 Evidence, sweeps and tents
16 evidence types ship in Config.EvidenceTypes: casings,
projectiles, blood, DNA, latent prints, GSR, fibers, footwear impressions, tire marks,
paint transfer, narcotics, firearms, digital devices, documents, vehicles and
miscellaneous. Each has a category, whether it is latent, a find range, a collection
time, a decay time and the lab tests it allows.
- Sweep to find latent items. One sweep covers
Config.Collection.Sweep.Radiusmeters and finds each item withFindChance(0.75), so an area has to be worked more than once. Ranks at or aboveExpertGradealways find what is there. - What is found appears on the ground (2.1).
- Photograph or measure each item with E. That numbers it, stands its tent and makes it collectable. G measures it from the scene datum.
- Collect with E once it is documented. It goes into the officer's custody.
- Items nobody collects decay after their type's
decayMin.
3.3 Ballistics
- Every round a player fires is recorded: where from, where it hit, the weapon and its serial. Opening a scene turns that ledger into casings and impacts.
- Serials are read from the inventory, or derived from the shooter and the weapon when there is none, so the same gun links across cases on any server.
- G at a documented impact places a trajectory rod. Its error is added once, on the server, so every officer sees the same line; trained ranks get a tighter one.
- With two or more rods, solve the firing position: a sphere the size of the solver's own error. Near-parallel rods are refused rather than given a meaningless answer.
- Shooters carry gunshot residue for a while (washed off by rain). Swab their hands from the wheel.
3.4 The fingerprint scanner
- Stand in front of the subject and use Take fingerprints on the
wheel (or
/printscan). The scanner comes out. - The subject sees a prompt and answers: Y to give their print, N to refuse. No answer is a refusal.
- On a refusal, E attempts an override. Beat the puzzle on the device (ridge alignment or minutiae match, at the difficulty set in config) and the read goes ahead, flagged as taken without consent for as long as the record exists. Miss enough attempts and the device locks that subject out for a while.
- Inside a cordon, the read also files a reference print card on the case, in the officer's custody.
Every read enrolls the subject in the print registry, which is what
latent prints are compared against. Someone who is down (asked of your medical script,
Config.Medical) cannot refuse. With
Config.Fingerprint.Registry.GateLabMatches on, a latent print only ever
identifies somebody who has been printed; it ships off.
N is push-to-talk in several voice
resources. Move the refuse key with
Config.Fingerprint.Consent.RefuseControl.
3.5 Camera, light and luminol
- Camera mode (inside a scene): a viewfinder at the officer's eye. LMB takes a photo, the scroll wheel zooms, RMB or Backspace puts it down. Every shot is a real screenshot, numbered per case, logged with the photographer and the exhibits in frame. The server decides what is in frame; a photo scale near an exhibit in frame marks it with scale. The case file's Photo log has a lightbox and side-by-side comparison.
- Forensic light: on and off. Latent prints, fluids and fibers in the beam are found with a better chance than a sweep, and glow.
- Luminol: sprayed around the officer. It finds blood, including blood somebody cleaned up, which glows and is flagged recovered after cleanup.
Photos go to the CAD when it is connected, otherwise to the Discord webhook in
Config.Collection.Photos.Webhook when one is set. Without either, the
photo is still logged; there is just no image behind it.
The server has no walls: an exhibit behind a wall but inside
the cone and range counts as in frame, or in the beam. Keep
Config.Camera.Range and Config.Light.Range modest.
3.6 Counter-forensics
What a careful suspect can do about it. Civilians get a Clean up
ring on the wheel for whichever of these Config.CounterForensics turns on.
The server checks every one.
- Gloves leave no new prints: a
glovesitem, and/or the glove drawables you list per gender underGloves.Drawables(the lists start empty because every clothing pack numbers them differently). - Bleach scrubs blood nobody has found yet. Sweeps and the light miss it; luminol does not.
- Wiping a gun costs its next print test the odds. DNA stays.
- Picking up brass removes casings nobody has found. Off by default: it is a strong move.
On-duty law enforcement cannot use these unless you allow it.
3.7 Detectives and the crime scene unit
- Request detective / CSI pages everyone on duty in
Config.Access.CsiJobs. With nobody on duty, an NPC detective is sent. - Assign detective puts a player detective on the case and pages them.
- Send crime scene unit sends the NPC detective with the tasks you pick: sweep, mark, photograph, bag into your custody, book in. It arrives in an unmarked car, works the cordon, and can miss things. The chain reads "Det. Reyes (crime scene unit) on the order of Ofc. Smith".
An NPC never solves the firing position, sends anything to the lab or writes a
report. Config.Npc.AllowCollect = false keeps it to finding, marking and
photographing. Settings are in Config.Npc.Detective.
Part 4
After the scene
Custody, the evidence room, the lab, the indexes and the paperwork.
4.1 Chain of custody and evidence rooms
- Every touch of an item appends an entry: who, when, what, and their callsign.
- Collected items sit in the officer's custody until they are booked in. Booking in
after
Config.Lockers.CustodyWindowMinflags the item on the case file for good. - Hand-offs between officers are recorded on both sides.
- Evidence rooms (
Config.Lockers, or the panel's Evidence rooms with "Use my position") each have their own jobs, rank and capacity, an optional two-person rule on withdrawals, and a log. Deleting a room never destroys evidence.
4.2 The lab and the bench
- 13 tests: DNA, blood typing, print comparison, ballistics, serial restoration, GSR, substance ID, trajectory reconstruction, impressions, fiber, paint, digital, handwriting.
Config.Lab.Mode: automatic on a timer, manual by a forensics analyst, or hybrid (automatic only while no forensics staff are on duty).- Results degrade with time uncollected, custody hand-offs and a broken chain. Inconclusive is a real outcome, and a re-test adds a second result rather than overwriting the first.
- The bench (
Config.Lab.HandsOn, on by default): "Work it" on a ballistics, DNA or print job opens a puzzle: a comparison microscope (line up the striations), an electropherogram (pick the matching profile), or the scanner's minutiae match. A win gives the normal result with a bonus. Losing, walking away or an impossibly fast finish is inconclusive, never a wrong match.
4.3 Indexes, the case board, the diagram and reports
- DNA index (CODIS-style): every conclusive profile, from evidence and from reference swabs. A new profile is searched against both: "Forensic hit: matches an unknown profile from case 2026-00031".
- Ballistic index (NIBIN-style): every tool-mark signature the lab examines. A new casing raises a lead against every other case the same gun turned up in.
- The tablet's Databases tab searches both.
- The case board is a link chart of the case's exhibits, people, weapons, vehicles, other cases and calls. It never names somebody the lab has not identified.
- The scene diagram is drawn top-down from the real coordinates: the cordon, numbered markers, rods, the firing position, plates and photo scales, a north arrow and a scale bar. It prints, and it is frozen onto every submitted report.
- Reports: four templates (incident, forensic, ballistics, supplemental). Evidence is attached automatically; a submitted report is locked and a correction becomes a supplemental.
Part 5
Reference
Commands, settings, items, the developer interface and the security model.
5.1 Commands, keys and the wheel
| Command | Default key | What it does |
|---|---|---|
/evidence | F6 | Open the evidence tablet |
/scene | — | Open a scene where you stand |
/sweep | — | Search the area for latent evidence |
/collect | — | Document or collect the nearest item |
/printscan | — | Take the nearest person's fingerprints |
/evidenceadmin | — | Configuration panel (admins) |
/evidenceprobe | — | Which prop models your game can see (admins) |
/evidenceid | — | Print your identifiers |
Nothing needs a slash command. With the Public Safety Simulator or Sal's Kewl Dispatch running, hold Caps Lock: every action is on the Evidence ring of their wheel, and whatever the officer is standing over is on the first ring. Without a wheel, the tablet's Field tab has every field action, and E works exhibits and evidence room counters.
Command names are in Config.Commands; keys in
Config.Keys. Players can rebind keys under FiveM's keybinds.
5.2 Settings
| Section | What it holds |
|---|---|
Config.Access | Police, forensics, CSI and prosecutor jobs; the rank for each action |
Config.Scene | Case numbers, radius, cordon style, road closures, blips |
Config.EvidenceTypes | Every evidence type |
Config.World | Draw distances, the drawn marker, the most markers drawn a frame, trajectory drawing |
Config.Props | The scene kit, Tents, Ground, Tape, Rods, held props, CollectHeld, Stream |
Config.Collection | Sweeps, animations, progress bar, photographs |
Config.Camera / Config.Diagram | Camera mode and the scene diagram |
Config.Light / Config.Luminol | Range, cone, find chance, glow, item gates |
Config.CounterForensics | Gloves, Bleach, Wipe, Brass |
Config.SteppingPlates | Contamination notes for walking a cordon off the plates (off by default) |
Config.Ballistics | Shot capture, casings, impacts, GSR, rods, the solver, serials |
Config.Medical | Which script decides who is down |
Config.Fingerprint | The scanner, consent, the override puzzles, the print registry |
Config.Lab / Config.Indexes | Lab mode and tests, degradation, the bench, the DNA and ballistic indexes |
Config.Lockers | Evidence rooms |
Config.Npc | The NPC detective |
Config.Reports | Report templates |
Config.Integrations | Each sibling resource, the wheel, Discord |
The prop pack's settings
| Setting | Default | What it does |
|---|---|---|
Props.Tents.Enabled | on | Numbered tents next to marked evidence |
Props.Tents.ShowNumber | off | Also draw the floating number over a real tent |
Props.Tents.ByType / ByCategory | prints orange, biological red | Tent color by evidence type, then category |
Props.Ground.Enabled | on | Discovered evidence lies on the ground |
Props.Ground.Calibers | the game's guns | Weapon name to casing caliber (9mm, 45, 556, 12ga) |
Props.Tape.Spans | on | Real tape between the pack's posts |
Props.Rods.Enabled | on | Physical rods under the drawn line |
Props.Stream.ItemDistance | 40 m | Tents and ground evidence are laid out within this distance |
Props.Stream.MaxObjects | 300 | Most pack objects one game lays out at once |
Props.Stream.RecheckSeconds | 5 | How often a missing model is looked for again |
World.MaxMarkers / Props.Tape.MaxDrawn | 40 / 64 | Most drawn markers and ribbons a frame, nearest first |
5.3 Inventory items
items/ox_inventory.lua and items/qb-core.lua hold
ready-to-paste definitions for evidence_kit, evidence_bag,
fingerprint_scanner, forensic_light,
evidence_camera, gsr_kit, luminol,
bleach and gloves, and items/icons/ an icon for
each. Copy the images to ox_inventory/web/images/ or
qb-inventory/html/images/.
- The camera, the forensic light, luminol and bleach are usable: using one starts camera mode, turns the light on, sprays luminol or scrubs with bleach. Gloves only need to be carried.
- The items are optional. Evidence only checks for them when you switch a gate on
(
Config.Access.RequireKit,ConsumeBags,Config.Fingerprint.RequireItem, the camera, light and luminolRequireItem), and with no supported inventory every check passes. - To issue them with duty gear, add them to a bag in
Sal's Kewl Gear Bag (
Config.EnableItems = truethere, then/editgear).
5.4 Exports and events
The exports and events below are the stable interface for your own resources.
(Sal's Kewl's sibling resources build against a fuller contract with every payload,
INTEGRATION-CONTRACT.md.) The most used server exports:
exports.sals_kewlevidence:addEvidence(coords, 'blood', { sourceCid = cid }, { createScene = true })
exports.sals_kewlevidence:AddEvidence(officerSrc, { label = 'a pistol', source = GetCurrentResourceName() })
exports.sals_kewlevidence:RecordShot({ from = pedCoords, to = impact, weapon = 'WEAPON_PISTOL', cid = 'pss:P000123' })
exports.sals_kewlevidence:LinkCase(caseId, { kind = 'call', provider = GetCurrentResourceName(), ref = 'C-1234' })
exports.sals_kewlevidence:sceneAt(coords)
exports.sals_kewlevidence:getCaseByNumber('2026-00042')
exports.sals_kewlevidence:enrollPrints(citizenid, 'Booking')
exports.sals_kewlevidence:enrollDna(citizenid, 'Booking', 'John Doe')
exports.sals_kewlevidence:leaveTrace(src, 'fingerprint', { coords = handle, label = 'Safe door' })
exports.sals_kewlevidence:RequestCsi(src, { service = 'csi' })
exports.sals_kewlevidence:WorkScene(officerSrc, { pedNetId = netId, tasks = { 'mark', 'photo' } })
Store case and item ids (CASE-…, EV-…): they never change.
Case numbers like 2026-00042 are for people and restart every year. A
casing filed with meta.weapon also gets the right casing model on the
ground.
Server events for other resources (AddEventHandler):
sals_kewlevidence:caseOpened, caseClosed,
itemChanged (once per chain-of-custody entry), labResult,
originSolved, reportSubmitted and workDone. Each
carries the case's links. An unswept latent item is never announced.
Client exports: openSceneKit, placeSceneProp(kitId),
sweepArea, collectNearest, swabGSR,
scanPrints, forensicLight, sprayLuminol,
currentScene.
5.5 Security
- Positions are never taken from what a game sends: the server reads them off the ped.
- Latent evidence nobody has swept for is in no player's data at all. The tents
and ground props are laid out from that same data, so they cannot give a hidden
exhibit away; the server sends a prop key (
casing_9mm), never the weapon. - The camera, the light and luminol send only a direction; the server measures from the officer and answers with discovered exhibits only.
- A latent exhibit's hidden truth (whose print it is, where the shot came from) is never sent to the tablet.
- Gloves are read off the inventory and the ped on the server, never the player's word.
- The print override and the bench puzzles run in a browser, so their trust is bounded: a single-use server-issued challenge, the difficulty from config, the attempt spent when it is issued, impossibly fast wins rejected, and anything but a real win at the bench inconclusive.
- Webhook URLs cannot be reached from the panel, and the release build refuses to ship with one filled in.
Part 6
Help
The problems owners actually hit, and where to ask.
6.1 Troubleshooting
/evidenceadmin does nothing
You are not an admin yet. The server console prints your identifiers when you are
turned away. Add the license: one to
Config.Admin.Identifiers, or grant the ACE:
add_ace group.admin sals_kewlevidence.admin allow.
Players see cones, a bollard and drawn markers instead of the props
- Run
/evidenceprobe. If everything is MISSING or DRAWN, the pack is not loading: check thatstream/is inside the resource folder and thatfxmanifest.luastill has itsdata_file 'DLC_ITYP_REQUEST'line. - Right after a restart or a first join, wait a few seconds: the props swap in on their own.
The scene kit still shows the old models after updating
Your scene kit was saved from the panel in 1.x, and a saved kit replaces the
defaults. Set each model in Scene kit props, or delete
props from data/overrides.json and restart.
The tape is a drawn ribbon
Real tape is only strung between two of the pack's posts, at most 14 m apart
(Config.Props.Tape.MaxSpan). Barriers and cones always get the ribbon.
No casing or blood on the ground
Ground props appear only for items that have been discovered (sweep first),
within Config.Props.Stream.ItemDistance, and only for the types in
Config.Props.Ground.Types. Scrubbed blood never has a pool.
Photos have no image
A real screenshot needs screenshot-basic and either the CAD or a webhook
in Config.Collection.Photos.Webhook. Without them the photo is logged with
no image.
The subject's refuse key does nothing
A voice resource probably owns N. Move it with
Config.Fingerprint.Consent.RefuseControl.
A sibling resource is not connecting
Open /evidenceadmin → Connections. It shows each one
with the reason, and "Check again" looks for it at once.
6.2 Support
Ask on our
Discord. Include what /evidenceprobe and the
Connections card say, and anything the server console printed with
[sals_kewlevidence] in front of it. The README.md in the
download carries the same content as this manual.
Didn’t find it? Ask Squawky, or open a ticket on Discord and tell us what you already tried.