Exports and Commands
Client Side Exports
Send Player To Prison Export (Client)
Sends Player Directly To Prison
Variables
Security Level (min,med,max)
timeLeft(integer)
exports['DHS-PrisonSim']:SendPlayerToPrison(secLevel,timeLeft)
Open Convoy Menu (Client)
Opens The Convoy Menu
exports['DHS-PrisonSim']:OpenConvoyMenu()
Server Side Exports
Open Convoy Menu (Server)
Opens The Convoy Menu On The Server ID
Variables
source (the players server id that you want this to open on)
exports['DHS-PrisonSim']:OpenConvoyMenu(source)
Send Player To Prison Export (Server)
Sends Player Directly To Prison
Variables
Prisoners Server ID (Players server id you want to send to prison)
Security Level (min,med,max)
timeLeft(integer)
exports['DHS-PrisonSim']:SendPlayerToPrison(prisonerServerID,secLevel,timeLeft)
Release Prisoner From Prison
Releases The Specified Prisoner
Variables
prisonerID (prisoner to be released server id)
exports['DHS-PrisonSim']:ReleaseFromPrison(prisonerID)
Get Remaining Prison Time
Returns The Amount of Prison Time Remaining For The Specified Prisoner
Variables
prisonerID (prisoner that you want time of)
exports['DHS-PrisonSim']:GetRemainingPrisonTime(prisonerID)
Get Prisoner Security Level
Returns The Security Level of The Prison
Variables
prisonerID (prisoner that you want the security level of)
exports['DHS-PrisonSim']:GetPrisonerSecurityLevel(prisonerID)
Commands
/stoplockdown -- Stops Any Current Lockdown
/lockdown -- Triggers a Lockdown That Locks All Doors In The Prison
/resetprisoner [id] -- Resets the specified prisoner and releases them from prison
/doc -- Opens the Department of Corrections Menu
/prison -- Opens the menu to register prisoners for the convoy
/prisonpocket -- Opens your 'prison pocket'
/solitary [id] [time] -- Sends the prisonerID to solitary confinement for specified time
/removeSolitary -- Removes the player from solitary confinement
Last updated