Evidence System

GenerateFinger

Generating unique finger print id

exports['p_policejob']:GenerateFinger()

Return:

  • fingerId: string


GenerateBlood

Generating unique blood id

exports['p_policejob']:GenerateBlood()

Return:

  • bloodId: string


GetIdentifierFromFinger

Get player identifier or citizen id by finger id.

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.

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.

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.

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.

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.

exports['p_policejob']:GetFingerFromIdentifier(identifier)
  • identifier: string

    • Existing identifier / citizenid of player.

Return:

  • data: object or nil

    • serial: string

    • type: string

Last updated