cEvidence | Escrowed screenshot 1cEvidence | Escrowed screenshot 2cEvidence | Escrowed screenshot 3cEvidence | Escrowed screenshot 4cEvidence | Escrowed screenshot 5cEvidence | Escrowed screenshot 6cEvidence | Escrowed screenshot 7cEvidence | Escrowed screenshot 8cEvidence | Escrowed screenshot 9

Description

 

CodeRanch Evidence System

  Forensic Crime Scene Investigation for RedM

  A detailed forensic evidence system built for serious roleplay servers. Every gunfight leaves bullet casings,

  every wound leaves blood — and law enforcement can track it all down with a lantern, an evidence kit, and a lab.


  Script Explanation;

  - Bullet casings drop automatically when a player fires any weapon

  - Bloodstains appear on the ground when a player takes damage

  - 2 evidence discovery modes: handheld lantern prop or Eagle Eye vision

  - Evidence collection with animated pickup and progress bar

  - Full lab UI where collected evidence is analyzed to reveal suspect identity

  - Weather system that degrades evidence over time — rain washes blood away faster, wind scatters casings

  - Glove detection — wearing gloves prevents fingerprint traces on bullet casings

  - 3D evidence props spawned client-side with per-type models (casings and blood pools)

  - Smart spawn logic with merge radius, cluster limits, and scatter to prevent stacking

  - Automatic database cleanup for expired and collected evidence


  System Features

  - 2 viewer modes: lantern (prop-based) and eagle eye (native vision) — switchable in config

  - 33+ weapon caliber mappings included out of the box (revolvers, rifles, shotguns, bows, melee, thrown)

  - Real-time weather impact on evidence decay with separate multipliers for rain and wind

  - Configurable evidence lifetime per type (bullet casings and bloodstains independently)

  - Animated evidence collection with configurable duration and progress bar

  - Lab analysis system with multi-step progress text and suspect profile output

  - Job-restricted lab access (police, sheriff, marshal — fully configurable)

  - ox_target support for both evidence collection and station interaction

  - Modern NUI lab interface built with Vue

  - oxmysql database with 3 normalized tables and automatic item seeding

  - 6 languages included (English, Turkish, Arabic, French, Italian, Spanish)

  - Fully configurable via config.lua — no code edits needed

  - Runs on cBase framework adapter


  Dependencies

  - cBase

  - oxmysql

  - ox_target (optional)


  CodeRanch Scripts — Professional RedM Development


Related Scripts