Bablo ResourcesDocs

Client Exports

Register Fingerprint

Leaves a fingerprint on an entity the player touched, for example when your script opens a door or a safe. Gloves still prevent the print.

LUA
-- entity: number - the touched entity
-- surface: string? - optional surface name
-- worldCoords: vector3 - where the entity was touched
 
exports["bablo-evidence"]:RegisterFingerprint(entity, surface, worldCoords)

Register Surface Fingerprint

Leaves a fingerprint on a world surface within 2.5 m of the player.

LUA
-- point: vector3 - the touched point
-- normal: vector3 - the surface normal at that point
-- entity: number? - optional entity the surface belongs to
-- return: bool - true if a print was left
 
exports["bablo-evidence"]:RegisterSurfaceFingerprint(point, normal, entity)