🔍Evidence
A core part of the police script. The evidence system allows you to drop different kinds of evidence for your police department to use in criminal investigations.
General Evidence Information:
When wearing gloves there is a 20% chance of a fingerprint dropping (this would be only a partial fingerprint)
When not wearing gloves there is a 50% chance of a fingerprint dropping in full
If
forceNoDna
is set to true then no DNA will be droppedWhen wearing a mask there is a 10% chance of DNA dropping
When not wearing a mask there is a 50% chance of DNA dropping
autoDetectFingerprintDrop
Automatically detects where a fingerprint should be dropped based on raycasting to find the object the fingerprint should be attached to.
objectModels
List of model hashes
Finds the closest object with a matching model.
forceNoDna
boolean
If DNA should be completely ignored. Defaults to false.
autoDetectRaycastCoordFingerprintDrop
Automatically detects where a fingerprint should be dropped based on raycasting from the player to the end position. When an object is detected it will use this as the place to drop the evidence.
raycastEnd
vector4
Raycasts from the player to the point specified in order to drop the fingerprint.
forceNoDna
boolean
If DNA should be completely ignored. Defaults to false.
dropFingerprintAndDna
Drops fingerprint and DNA evidence at the specified location.
When wearing gloves there is a 20% chance of a fingerprint dropping (this would be only a partial fingerprint)
When not wearing gloves there is a 50% chance of a fingerprint dropping in full
If
forceNoDna
is set to true then no DNA will be droppedWhen wearing a mask there is a 10% chance of DNA dropping
When not wearing a mask there is a 50% chance of DNA dropping
fingerprintLocation
vector3
The specific location to drop the fingerprint. If not provided will drop in a random location near the player.
forceNoDna
boolean
If DNA should be completely ignored. Defaults to false.
Last updated