Skip to content

Fingerprints

Luccboy edited this page Dec 1, 2025 · 6 revisions

Leaving fingerprints

By default, players don't leave fingerprints when wearing gloves. If you have custom clothing on your server, you need to add the ids of hands without gloves to the exceptions-list in config.lua:

config.isPedWearingGloves = function()
    local handsVariation = GetPedDrawableVariation(cache.ped, 3)
    local exceptions = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 112, 113, 114, 184, 196, 198}
    
    return not lib.table.contains(exceptions, handsVariation)
end

Important

Fingerprints are only created if the function returns false! This means you can add further conditions, which have to be fulfilled in order for a player not to leave any fingerprints.

Fingerprints on vehicles

Players leave fingerprints on

  • vehicle doors when interacting with them (entering or leaving) or
  • on the whole vehicle if it has no doors (e.g. boats and bikes).

By targetting the door or vehicle, players can remove the fingerprints from it if they got hydrogen_peroxide in their inventory. Permitted players (as defined in config.lua) may collect fingerprints from vehicle doors or vehicles in case they have a fingerprint_brush item with them. They receive a fingerprint_taken item that is required to analyse the fingerprint.

config.permissions = {
    collect = { -- Allowed jobs and their minimum grades required to collect evidence
        police = 0,
        fib = 0
    }
}

fingerprint_at_vehicle_door

Fingerprints on weapons

Players leave fingerprints on weapon items when equipping them. Using hydrogen_peroxide while the weapon is equipped removes the fingerprint from its surface. Police do not need to collect fingerprints from weapons separately. It is sufficient to seize the weapon itself in order to analyse the fingerprint on it.



Analysing fingerprints using the Fingerprint App

  1. Place an evidence_laptop.
  2. Open the 🫆 Fingerprint App.
  3. Have an item in your inventory that holds a fingerprint (fingerprint_taken or weapon with fingerprint on it).
  4. On the left side of the app, all those items in your inventory and in evidence boxes are displayed. By selecting an item from the sidebar, you can apply changes to the crime scene, time of collection and additional information (this data is always pre-filled on evidences that you collect). If a database record exists for the fingerprint on the selected item, it is displayed on the lower half of the app and can be edited; otherwise, a new record can be created. The fingerprint_scanner can be helpful in registering player's fingerprints in the database for the first time. Furthermore, the item can be labeled with a tag containing all the displayed data as you can see here:



Fingerprint scanner

A fingerprint_scanner can hold one fingerprint at a time. This requires a police officer to use the fingerprint_scanner item and the fingerprinted player to target the scanner in the officer's hand. Then, the fingerprint_scanner can be selected in the fingerprint app, and either a new database entry can be created, or an existing one can be viewed or edited.

Clone this wiki locally