Client

These are all the client side exports you can utilize in other resources.

JailPlayer

local target = 1 -- ID 1
local time = 10 -- 10 minutes
local bail = 10000 -- $10000 (0 or nil for no bail)

exports.r_prison:JailPlayer(target, time, bail)
  • Client must have ACE or police job to jail other players!

  • Returns true or false, indicating whether the target was successfully jailed.


ReleaseInmate

local target = 1 -- ID 1

exports.r_prison:ReleaseInmate(target)
  • Client invoking must have ACE or police job!

  • Returns true or false, indicating whether the target was successfully released.


IsInmate

exports.r_prison:IsInmate()
  • Returns true or false, indicating whether the client is an inmate.


IsInmateLockdown

exports.r_prison:IsInmateLockdown()
  • Returns true or false, indicating whether the client is in lockdown.

Last updated