Server
All server exports and events that script provides for developers.
Unjail
local playerId = 1
exports['rcore_prison']:Unjail(playerId)
-- Note: If you want to unjail user without being teleported in front of prison, useful for other resources that for prison break(s).
exports['rcore_prison']:Unjail(playerId, {
skipTeleport = true
})IsPrisoner
Jail
GetPrisonerdata
GetPrisonerAccount
EditPrisonerSentence
EditPrisonerAccountCredits
rcore_prison:prisonerState
Last updated