BullyHunter
Communication Banned
Hello there.
I parsed the server laws, it should have every detail that you need, if you want me to include any extra details lmk.
Turns into
Structure
All Laws
https://pastebin.com/hVkmCpYR
https://pastebin.com/dqfHsy4M (Minified)
I parsed the server laws, it should have every detail that you need, if you want me to include any extra details lmk.
Code:
12.12 Reckless Driving
Any person who drives any vehicle with disregard for the safety of persons or property is guilty of this offence.
Misdemeanor - liable to 4 years maximum imprisonment, $3,500 maximum fine and asset forfeiture.
JSON:
{
"desc": "Any person who drives any vehicle with disregard for the safety of persons or property is guilty of this offence.",
"title": "Reckless Driving",
"id": 12.0,
"punishment": {
"money": 3500.0,
"years": 4.0,
"phrase": "Misdemeanor - liable to 4 years maximum imprisonment, $3,500 maximum fine and asset forfeiture.",
"assetForfeiture": true
},
"section": 12.0
},
Structure
JSON:
{
[section] = {
[subSection] = {
title = "Title",
section = section,
id = subSection,
desc = "Breaking this law is very bad.",
punishment = {
money = 5000,
years = 5,
phrase = "Felony - liable to 5 years imprisonment, $5,000 maximum fine",
assetForfeiture = false,
}
}
}
}
All Laws
https://pastebin.com/hVkmCpYR
https://pastebin.com/dqfHsy4M (Minified)
Last edited: