Penal Codes
Quasar Dispatch provides a system for defining and displaying Penal Codes, enabling jobs like police or EMS to access detailed penalty information via the MDT. While the fines and jail times are for reference only and not automatically applied, the system allows for comprehensive management and customization.
1
2
Example Configuration
Penal Code for Police:
[0] = {
title = 'Penal Code of San Andreas',
desc = 'Primary set of laws governing San Andreas.',
jobs = { 'police', 'sheriff', 'fbi' },
PenalCode = {
{ id = 'code_theft', title = 'Theft', desc = 'Taking property without consent.', fine = 300, jailTime = 1 },
{ id = 'code_assault', title = 'Assault', desc = 'Causing harm to another person.', fine = 400, jailTime = 10 },
{ id = 'code_vandalism', title = 'Vandalism', desc = 'Damaging property without permission.', fine = 250, jailTime = 7 },
}
}
Services for EMS:
[1] = {
title = 'EMS Department of San Andreas',
desc = 'List of services provided to citizens.',
jobs = { 'ambulance', 'police' },
PenalCode = {
{ id = 'code_injured', title = 'Injured', desc = 'Injured in an incident.', fine = 300, jailTime = 0 },
{ id = 'code_sick', title = 'Sick', desc = 'Suffering from illness.', fine = 400, jailTime = 0 },
{ id = 'code_dead', title = 'Dead', desc = 'Deceased individual.', fine = 500, jailTime = 0 },
}
}
Notes and Recommendations
By leveraging this system, your server's legal and EMS teams can operate more efficiently and with clear guidelines.
1
2
Last updated