Client

unjail

exports.tk_jail:unjail(targetId, teleport)

Unjails player with given ID. Player triggering this export needs to be a police.

  • targetId: string

  • teleport?: boolean

jail

exports.tk_jail:jail(targetId, time, jailType, cellIndex, teleport, notes)

Jails player with given ID. Player triggering this export needs to be a police.

  • targetId: string

  • time: int

  • jailType?: 'jail' 'lockup'

  • cellIndex?: int

  • teleport?: boolean

  • notes?: string

seizeItems

exports.tk_jail:seizeItems(targetId)

Seizes item from target. Player triggering this export needs to be a police.

  • targetId: int

getSentence

exports.tk_jail:getSentence(targetId)

Gets the sentence of target in minutes.

  • targetId: int

  • Return:

    • sentence: int

Last updated