Client
unjail
exports.tk_jail:unjail(targetId, teleport)Unjails player with given ID. Player triggering this export needs to be a police.
targetId:
stringteleport?:
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:
stringtime:
intjailType?:
'jail''lockup'cellIndex?:
intteleport?:
booleannotes?:
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:
intReturn:
sentence:
int
Last updated