Server
This page lists all the available server-side events and exports.
Exports (General)
List of general exports.
Jail
SERVER
This export is used when you want to jail target citizen.
Example code
Unjail
SERVER
This export is used when you want to unjail citizen which is in Prison.
Example code
UnjailOffline
SERVER
This export is used when you want to unjail citizen which is offline
Example code
GetPrisonerData
SERVER
This export is used when you want to get more informations about target prisoner.
Example code
EditPrisonerSentence
SERVER
This export is used when you want to modify target prisoner sentence
Example code
IsPrisoner
SERVER
This export is used when you want to check if target citizen is Prisoner
Example code
AddCredits
SERVER
This export is used when you want to give target Prisoner credits, if he has account!
Example code
RemoveCredits
SERVER
This export is used when you want to remove credits from Prisoner account.
Example code
SetSolitary
SERVER
This export is used when you want to sent Prisoner to Solitary cell
Example code
ReleaseFromSolitary
SERVER
This export is used when you want to release prisoner from solitary
Example code
IsPrisonerInSolitary
SERVER
This export is used when you want to check if Prisoner is in Solitary cell
Example code
Last updated