Witnesses
Enables NPCs as witnesses to any crime the player commits, only if they can be seen or heard.
Preview
If the preview doesn’t work, click here
Features
Visual Detection - If an NPC is close enough to witness a crime, they have a chance to report it.
Crimes are defined in the configuration with a visual threshold, audio threshold, and severity.
Player Description - If the NPC can see the player, they will report the following based on how far they are away
- Eye Color
- Hair Color
- Top Color
- Bottoms Color
- Shoes Color
- Carrying Melee
- Carrying Firearm
- Carrying Explosives
- Accessories (Helmet)
- Player Health
Player Actions
- Hit & Run
- Crashes
- Stuns
- Reloading
- Diving
- Falling
- Shooting
- Carjacking
- Swimming
Crime Detection - The following crimes are included with the resource and do not require any setup
- Shots Fired - Triggered when the player fires their gun
- Brandishing Firearm - Triggered when the player aims at an NPC
- Carjacking - Triggered when the player steals a vehicle
- Homicide - Triggered when the player kills an NPC (animals do not count)
- Reckless Driving - Triggered when the player drives against traffic
- Criminal Speeding - Triggered when the player drives over a set speed (configurable)
- Vehicular Collision - Triggered when the player crashes
- Vehicular Assault - Triggered when the player runs over an NPC
- Unresponsive Individual - Triggered when the player is in ragdoll for more than 5 seconds
Ped Blacklist - Functions have been included to blacklist certain peds as witnesses (e.g. shopkeepers)
Easy Integration - Crime detection can be added to existing code with one line
Configuration Options
- Default Values - Some default values have been included so they don’t have to be included in other parts of the configuration
- Crime Severity
- Ped Trust Factors
- Groups
- Report Time - Minimum and maximum times reports are taken
- Crimes
- Visual Radius
- Audio Radius
- Severity
- Text Entries - Included for easy translation
- Ped Cooperation Factors - How likely a certain ped model is to contact the police
- Gangsters have 0% by default
- Police have 100% by default
- Mask Configuration - If wearing a certain mask the eye/hair color will be removed from the report
- Masks that hide hair
- Masks that hide eyes
Standalone - There is no need for any framework with this script.
You can find the resource here
We offer support! Please check our readme files for contact information
Code is accessible | Partial |
Subscription-based | No |
Lines (approximately) | 2,000+ |
Requirements | Standalone |
Support | Yes |
Check out our other resources!
Skills
Home Invasions
Dog Walking
Contract Killings
Dynamic Weather
Gang Activity
Art Theft
Global Garages
Poster Placement Job
Throwable Objects