# Evidence System

## GenerateFinger

Generating unique finger print id

```lua
exports['p_policejob']:GenerateFinger()
```

Return:

* fingerId: `string`

***

## GenerateBlood

Generating unique blood id

```lua
exports['p_policejob']:GenerateBlood()
```

Return:

* bloodId: `string`

***

## GetIdentifierFromFinger

Get player identifier or citizen id by finger id.

```lua
exports['p_policejob']:GetIdentifierFromFinger(fingerId)
```

* fingerId: `string`
  * Existing finger id of player

Return:

* identifier: `string` or `nil`

***

## GetIdentifierFromBlood

Get player identifier or citizen id by blood id.

```lua
exports['p_policejob']:GetIdentifierFromBlood(bloodId)
```

* bloodId: `string`
  * Existing blood id of player

Return:

* identifier: `string` or `nil`

***

## GetPlayerFromBlood

Get online player object by blood id.

```lua
exports['p_policejob']:GetPlayerFromBlood(bloodId)
```

* bloodId: `string`
  * Existing blood id of player

Return:

* data: `object` or `nil`
  * serial: `string`
  * type: `string`
  * identifier: `string`

## GetPlayerFromFinger

Get online player object by finger id.

```lua
exports['p_policejob']:GetPlayerFromFinger(fingerId)
```

* fingerid: `string`
  * Existing finger id of player.

Return:

* data: `object` or `nil`
  * serial: `string`
  * identifier: `string`

***

## GetBloodFromIdentifier

Get online player blood id from identifier / citizenid.

```lua
exports['p_policejob']:GetBloodFromIdentifier(identifier)
```

* identifier: `string`
  * Existing identifier / citizenid of player.

Return:

* data: `object` or `nil`
  * serial: `string`
  * type: `string`

***

## GetFingerFromIdentifier

Get online player finger id from identifier / citizenid.

```lua
exports['p_policejob']:GetFingerFromIdentifier(identifier)
```

* identifier: `string`
  * Existing identifier / citizenid of player.

Return:

* data: `object` or `nil`
  * serial: `string`
  * type: `string`
