Server
unjail
exports.tk_jail:unjail(targetId, teleport)Unjails player with given ID
targetId:
stringteleport?:
boolean
jail
exports.tk_jail:jail(targetId, time, jailType, cellIndex, teleport, notes)Jails player with given ID
targetId:
stringtime:
intjailType?:
'jail''lockup'cellIndex?:
intteleport?:
booleannotes?:
string
seizeItems
Seizes item from target
targetId:
int
getSentence
Gets the sentence of target in minutes
targetId:
intReturn:
sentence:
int
removeSentence
Removes sentence from target
targetId:
inttime:
int
getJailedPlayers
Returns table of all jailed players
includeOffline?:
booleanReturn:
players:
tablename:
stringidentifier:
stringtimeLeft?:
intjailType?:
stringjailCell?:
string
Last updated