Build v2.9.0 - FivePD Beta

+ Added FivePD for testing purposes.
This commit is contained in:
Jacob
2022-10-21 00:04:57 +01:00
parent 96842b1320
commit 9a91441c1e
63 changed files with 4627 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Webpack App</title>
</head>
<body>
<div id="root" style="position:absolute;width:100%!important;height:100%!important"></div>
<script type="text/javascript" src="bundle.js"></script></body>
</html>
+39
View File
@@ -0,0 +1,39 @@
{
"db": "mysql",
"database": {
"username": "root",
"password": "Elite_Gaming_13",
"host": "127.0.0.1",
"port": 3306,
"database": "fivepd"
},
"stationBlips": false,
"maxReportLength": 1000,
"maxFine": 1000000,
"maxFinePoint": 100,
"maxCallLength": 125,
"maxOfficerNameLength": 125,
"maxAINameLength": 50,
"maxNumberOfInvolvedOfficers": 32,
"maxNumberOfSuspects": 32,
"maxNumberOfVictims": 32,
"maxViolationCount": 32,
"isSignatureEnabled": true,
"maxSignatureSize": 10,
"maxStreetNameLength": 25,
"maxCityNameLength": 30,
"maxZIPLength": 10,
"maxChargeCount": 15,
"maxReportCount": 100,
"maxCitationCount": 100,
"minCallsignLength": 1,
"maxCallsignLength": 15,
"adminCode": "egrp_police_ADMIN",
"discord": {
"enable": false,
"token": ""
},
"dutyNotification": true,
"observation": true,
"allowlist": false
}
+7
View File
@@ -0,0 +1,7 @@
{
"minCallTimeout": 30,
"maxCallTimeout": 180,
"expirationTime": 30,
"probability": 65,
"enableAmbientEvents":true
}
+92
View File
@@ -0,0 +1,92 @@
{
"violations":{
"Public":[
"Public Intoxication",
"Jaywalking",
"Trespassing",
"Loitering",
"Fighting",
"Disturbing the peace"
],
"Documentation":[
"Expired Driver`s license",
"Expired Registration",
"Expired Insurance",
"Invalid Driver`s license",
"Invalid Registration",
"Invalid Insurance"
],
"Traffic Violations":[
"Speeding (+5-15 mph)",
"Speeding (+16-25 mph)",
"Speeding(+25+ mph)",
"Leaving the scene of an accident",
"Reckless driving",
"Running a red light",
"Running a stop sign",
"Distracted driving",
"Unlawful vehicle modification",
"Seat belt violation",
"Failure to yield",
"Improper turn",
"Improper passing",
"Improper lane change"
]
},
"charges":{
"Posession":[
"Posession of Marijuana",
"Posession of Cocaine",
"Posession of Narcotics",
"Posession of a Stolen Vehicle",
"Posession of a Stolen Firearm",
"Posession of Counterfeit Money",
"Illegal Posession of Firearms"
],
"Assault":[
"Aggravated Assault/Battery",
"First Degree Murder",
"Second Degree Murder",
"Third Degree Murder",
"Assault with a Deadly Weapon",
"Hostage Taking",
"Drive-by Shooting",
"Assasination",
"Armed Robbery",
"Arson"
],
"Domestic Violence":[
"Aggravated Identity Theft",
"Attempting to commit Murder/Manslaughter",
"Bankruptcy Fraud",
"Bank Robbery",
"Breaking and Entering",
"Computer Crime",
"Concealing Escaped Prisoner",
"Concealing Person from Arrest",
"Conspiracy",
"Credit/Debit Card Fraud",
"Domestic Terrorism",
"Domestic Violence"
],
"Drug and Alcohol Related":[
"Drug Abuse",
"Drug Smuggling",
"Drug Trafficking",
"DUI"
],
"?":[
"Money Laundering",
"Motor Vehicle Theft",
"Prostitution",
"Rape",
"Sabotage",
"Sexual Assault",
"Shoplifting",
"Trespassing",
"Vandalism",
"Use of Firearm",
"Resisting Arrest"
]
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"stations": {
"Vespucci": "-1088.298, -793.1522, 19.23534",
"Rockford Hills": "-554.9328, -135.0505, 38.26282",
"Mission row": "426.1223, -979.7187, 30.70979",
"Davis sheriff": "362.1192, -1578.618, 29.29195",
"Vinewood": "621.2551, 21.02688, 88.3762",
"La mesa": "816.2065, -1290.355, 26.2846",
"Sandy Shores": "1857.092, 3679.564, 33.78053",
"Paleto Bay": "-439.927, 6019.884, 31.49011",
"Beaver bush": "386.77, 788.6, 187.61"
},
"jailDropoffs": [
"-1052.423, -846.9543, 4.867497",
"-556.5028, -145.1216, 38.18097",
"610.0356, 30.57694, 89.57451",
"408.4674, -980.272, 29.26822",
"833.3264, -1257.737, 26.3315",
"372.7368, -1624.528, 29.29195",
"1853.757, 3676.359, 33.77367",
"-435.0433, 6031.899, 31.34056",
"1682.682, 2600.73, 45.48091",
"374.22, 798.9, 187.36"
]
}
@@ -0,0 +1,3 @@
[
]
File diff suppressed because it is too large Load Diff
+21
View File
@@ -0,0 +1,21 @@
[
{
"isEnabled": true,
"name": "Paleto Bay PD",
"vehicles": [
{
"isEnabled": true,
"location": {
"x": -438.42,
"y": 6028.29,
"z": 31.34,
"heading": 28.59,
},
"vehicle": {
"model": "police",
"livery": 1
}
}
]
}
]
+62
View File
@@ -0,0 +1,62 @@
[
{
"name": "pen",
"isIllegal": false,
"multiplier": 10,
"itemLocation": 2
},
{
"name": "phone",
"isIllegal": false,
"multiplier": 20,
"itemLocation": 1
},
{
"name": "notebook",
"isIllegal": false,
"multiplier": 5,
"itemLocation": 0
},
{
"name": "marijuana",
"isIllegal": true,
"multiplier": 1,
"itemLocation": 2
},
{
"name": "watch",
"isIllegal": false,
"multiplier": 20,
"itemLocation": 1
},
{
"name": "ID card",
"isIllegal": false,
"multiplier": 20,
"itemLocation": 1
},
{
"name": "wallet",
"isIllegal": false,
"multiplier": 10,
"itemLocation": 2
},
{
"name": "headphones",
"isIllegal": false,
"multiplier": 5,
"itemLocation": 2
},
{
"name": "keys",
"isIllegal": false,
"multiplier": 5,
"itemLocation": 2
},
{
"name": "knife",
"isIllegal": true,
"multiplier": 2,
"itemLocation": 2
}
]
File diff suppressed because it is too large Load Diff
+56
View File
@@ -0,0 +1,56 @@
{
"Loadout 1": {
"isAvailableForEveryone": true,
"weapons": [
{
"weapon": "WEAPON_PISTOL",
"components": [
"COMPONENT_PISTOL_CLIP_02",
"COMPONENT_AT_PI_FLSH",
"COMPONENT_AT_PI_SUPP_02"
],
"ammo": 250
},
{
"weapon": "WEAPON_STUNGUN",
"ammo": 250
},
{
"weapon": "WEAPON_NIGHTSTICK",
"ammo": 250
},
{
"weapon": "WEAPON_FIREEXTINGUISHER",
"ammo": 1000
}
]
},
"Loadout 2": {
"isAvailableForEveryone": false,
"useRanks": true,
"availableForRanks": ["Officer I", "Officer II"],
"weapons": [
{
"weapon": "WEAPON_CARBINERIFLE",
"components": [
"COMPONENT_AT_AR_AFGRIP",
"COMPONENT_AT_AR_SUPP",
"COMPONENT_AT_AR_FLSH",
"COMPONENT_CARBINERIFLE_CLIP_02"
],
"ammo": 250
}
]
},
"Loadout 3": {
"isAvailableForEveryone": false,
"useRanks": false,
"availableForDepartments": [18],
"weapons": [
{
"weapon": "WEAPON_MARKSMANRIFLE",
"ammo": 250
}
]
}
}
File diff suppressed because it is too large Load Diff
+42
View File
@@ -0,0 +1,42 @@
{
"DutyMenu": {
"dutyToggle": {
"isEnabled": true,
"isAdminOnly": false
},
"keepEngineRunning": {
"isEnabled": false,
"isAdminOnly": false
},
"toggleCruiseControl": {
"isEnabled": true,
"isAdminOnly": false
},
"spawnVehicle": {
"isEnabled": true,
"isAdminOnly": false
},
"getLoadout": {
"isEnabled": true,
"isAdminOnly": false
},
"refillHealth": {
"isEnabled": true,
"isAdminOnly": false
},
"teleport": {
"isEnabled": true,
"isAdminOnly": false
}
},
"SceneMenu": {
"speedzonePlacement": {
"isEnabled": true,
"isAdminOnly": false
},
"objectPlacement": {
"isEnabled": true,
"isAdminOnly": false
}
}
}
+41
View File
@@ -0,0 +1,41 @@
[
{
"title": "Normal questions",
"questions": [
{
"question": "Have you been drinking recently?",
"answers": ["Yes.", "No.", "Of course I did."]
},
{
"question": "Where are you heading to?",
"answers": ["I'm going home.", "It's my own business..."]
}
]
},
{
"title": "Traffic stop questions",
"questions": [
{
"question": "Hello, how are you?",
"answers": ["Hey!", "Hello officer!", "Good day sir!"]
},
{
"question": "Hello",
"answers": ["Hey!", "Hello officer!", "Good day sir!"]
}
]
},
{
"title": "Documentation questions",
"questions": [
{
"question": "Do you have your drivers license with you?",
"answers": ["Yes.", "No.", "No, I left it at home."]
},
{
"question": "Do you have a hunting license?",
"answers": ["Nope.", "Yes sir yes."]
}
]
}
]
@@ -0,0 +1,40 @@
{
"speedzone": {
"speed": [0,5,10,20,30,40,50,60],
"radius": [5,10,20,30,40,50,60,70,80,90,100]
},
"objects": [
{
"name": "Small cone",
"model": "prop_roadcone02a"
},
{
"name": "Big cone",
"model": "prop_roadcone01a"
},
{
"name": "Bigger cone",
"model": "prop_barrier_wat_03b"
},
{
"name": "Do not cross",
"model": "prop_barrier_work05"
},
{
"name": "Road work ahead",
"model": "prop_barrier_work04a"
},
{
"name": "Road work ahead 2",
"model": "prop_barrier_work06b"
},
{
"name": "Small barrier",
"model": "prop_barrier_work01c"
},
{
"name": "Big barrier",
"model": "prop_barrier_work06a"
}
]
}
+106
View File
@@ -0,0 +1,106 @@
Greenhill Road
Little Lane
School Street
Richmond Close
North Road
Swan Lane
Melbourne Road
Cromwell Road
Ruskin Avenue
Pinewood Close
Mill Lane
Greenrose Drive
Manchester Road
Orchard Drive
The Meadows
Argyle Street
Eastern Avenue
Gordon Street
Westgate
Sycamore Drive
Church Hill
West Way
Bright Street
West Avenue
Pennsylvania Lane
Oak Road
Mill Hill
Beechwood Road
Front Street
Eastfield Road
Wellington Road
Martin Close
Whitehall Road
Nelson Road
Portland Place
Warwick Road
Tennyson Avenue
Castle Drive
The Lane
Maple Drive
Birch Avenue
Bishops Close
Langdale Road
Princess Street
North Drive
Beechwood Avenue
Greenrose Drive
Ash Grove
Riverside Road
Oaklands
The Park
River View
Stafford Road
Spencer Road
Elm Avenue
Shelley Close
Chestnut Grove
Richmond Road
Manor Close
Merlin Close
Harrow Road
Hazel Close
Blue Spring Street
Princess Street
South Littleton Rd
Shirley Road
Woodsman Street
St Paul Dr.
Philmont Drive
East Lyme St
Alton Road
Pawnee St
Fawn Street
Purple Finch St
Walnutwood Avenue
East Aspen Avenue
Cooper St
Hudson St
Glenwood St
James Drive
South Oakwood Court
Bald Hill Court
Peninsula Ave
Washington Drive
Fulton Street
Franklin St
Woodland St
W. Shub Farm Ave
West Grove Street
Academy Street
North Gartner St
Van Dyke Street
South Bedford St
Oak Valley Ave
Wilson Ave
Market Drive
Beech Ave
53rd Rd
N. Vernon St
Harvard Road
Hickory Ave
Glendale Avenue
Creekside St
Woodland St
Eagle St
Primrose Lane
+46
View File
@@ -0,0 +1,46 @@
{
"police": [
{
"name": "Police",
"vehicle": "police",
"isAvailableForEveryone": true
},
{
"name": "Police 2",
"vehicle": "police2",
"isAvailableForEveryone": false,
"useRanks": true,
"availableForRanks": ["Officer I", "Officer II"],
"availableForDepartments": []
},
{
"name": "Police 3",
"vehicle": "police3",
"isAvailableForEveryone": false,
"useRanks": false,
"availableForRanks": ["Detective I", "Detective II"],
"availableForDepartments": [18]
},
{
"name": "Police 4",
"vehicle": "police4",
"isAvailableForEveryone": false,
"useRanks": false,
"availableForDepartments": [19]
},
{
"name": "sheriff2",
"vehicle": "sheriff2",
"isAvailableForEveryone": true
}
],
"ambulance": ["ambulance"],
"airAmbulance": ["polmav"],
"firedept": ["firetruk"],
"coroner": ["speedo", "utillitruck3"],
"towtruck": ["flatbed"],
"mechanic": ["utillitruck3"],
"prisontransport": ["police"],
"animalControl": ["bison"],
"taxi": ["taxi"]
}
Binary file not shown.
+51
View File
@@ -0,0 +1,51 @@
fx_version 'cerulean'
games { 'gta5' }
author 'FivePD'
version '1.5'
ui_page './computer/index.html'
loadscreen './loading_screen/index.html'
files {
'./MenuAPI.dll',
'./NativeUI.dll',
'./Newtonsoft.Json.dll',
'./loading_screen/bundle.js',
'./loading_screen/index.html',
'./FivePD.net.dll',
'./index.html',
'./callouts/*.dll',
'./callouts/*.json',
'./callouts/**/*.json',
'./languages/*.json',
'./computer/*',
'./computer/static/*',
'./computer/static/css/*',
'./computer/static/js/*',
'./computer/static/media/*',
'./computer/public/*',
'./computer/public/icon/*',
'./config/callouts.json',
'./config/coordinates.json',
'./config/disabled_callouts.json',
'./config/garage.json',
'./config/vehicles.json',
'./config/loadouts.json',
'./config/questions.json',
'./config/scene_management.json',
'./config/menu.json'
}
client_scripts {
'./FivePD_client.net.dll',
'./callouts/*.net.dll',
'./callouts/**/*.net.dll',
'./plugins/*.net.dll',
'./plugins/**/*.net.dll'
}
server_scripts {
'./System.Net.dll',
'./FivePD_server.net.dll'
}
clr_disable_task_scheduler 'yes'
+233
View File
@@ -0,0 +1,233 @@
{
"name":"English",
"CalloutMenu":{
"title":"Callout Menu",
"description":"Choose an option",
"backup_menu":{
"title":"Backup Menu",
"description":"Call for backup",
"buttons":{
"code1":{
"title":"Code 1",
"description":"Call for code 1 backup"
},
"code2":{
"title":"Code 2",
"description":"Call for code 2 backup"
},
"code3":{
"title":"Code 3",
"description":"Call for code 3 backup"
},
"code99":{
"title":"Code 99",
"description":"Call for code 99 backup"
},
"cancel_backup":{
"title":"Cancel backup",
"description":"Cancel your backup request"
}
}
},
"add_nearby":{
"title":"Add nearby player",
"description":"Add the closest player to your callout (must be in the same department)"
},
"disable_callouts":{
"title":"Disable callouts",
"description":"Disable receiving callouts"
},
"debug_menu":{
"title":"~y~Debug menu",
"description":"Debug menu",
"submenu":{
"force_callouts":{
"title":"Force callouts",
"description":"Force a callout"
},
"toggle_callouts":{
"title":"Enable/Disable callouts",
"description":"Enable/Disable a callout"
}
}
},
"code4":{
"title":"[Callout] Code ~g~4",
"description":"Complete the callout"
},
"cancel_assistance":{
"title":"~r~Cancel assistance",
"description":"Stop responding to the backup request"
}
},
"MainMenu": {
"title": "Main menu",
"subtitle": "Choose a submenu"
},
"DutyMenu": {
"title": "Duty menu",
"subtitle": "Choose an option",
"duty": "On duty",
"engine": "Keep engine running",
"cc": {
"title": "Toggle cruise control",
"description": "By enabling this option you can use CC by pressing the set keybind for it. Default is 'B'."
},
"vehicleSpawn": "Spawn vehicle",
"loadout": "Get loadout",
"refill": "Refill health & armor",
"tp": "Teleport to station",
"OptionsMenu": {
"title": "Options menu",
"subtitle": "Choose an option",
"lang": "Change language",
"blips": "Toggle blips",
"patrolCarBlip": "Toggle patrol car blip",
"menupos": {
"title": "Toggle menu position",
"description": "Checked: right~n~Unchecked: left~n~~n~It's not working on aspect ratios 17:9 and 21:9!"
},
"showNotifications": {
"title": "Toggle notifications",
"description": "Some notifications are reasource heavy, so if you have a lower spec PC you can turn them off."
},
"observation": "Toggle ped observation"
}
},
"SceneMenu": {
"title": "Scene menu",
"subtitle": "Choose a submenu",
"ObjectMenu": {
"title": "Object menu",
"subtitle": "Choose an option",
"spawn": "Spawn object",
"delete": "Delete all objects you've placed",
"deletePrevious": "Delete the previous object you've placed"
},
"SpeedZoneMenu": {
"title": "Speed zone menu",
"subtitle": "Choose an option",
"speed": "Select speed",
"radius": "Change radius",
"place": "Place speedzone",
"remove": "Remove speedzone",
"go": "Let vehicles go",
"removePlayer": "Remove player's speed zone"
}
},
"DispatchMenu": {
"title": "Dispatch menu",
"subtitle": "Choose an option",
"license": "Check license",
"plate": "Check license plate",
"transport": {
"request": "Request prison transport",
"cancel": "Cancel prison transport"
},
"ems": {
"request": "Request ambulance",
"cancel": "Cancel ambulance"
},
"fd": {
"request": "Request fire department",
"cancel": "Cancel fire department"
},
"coroner": {
"request": "Request coroner",
"cancel": "Cancel coroner"
},
"towTruck": {
"request": "Request tow truck",
"cancel": "Cancel tow truck"
},
"animalControl": {
"request": "Request animal control",
"cancel": "Cancel animal control"
},
"mechanic": {
"request": "Request mechanic",
"cancel": "Cancel mechanic"
},
"airAmbulance": {
"request": "Request air ambulance",
"cancel": "Cancel air ambulance"
},
"taxi": {
"request": "Request taxi",
"cancel": "Cancel taxi"
}
},
"PedVehicleMenu": {
"title": "Ped seat menu",
"subtitle": "Choose an option",
"left": "Left rear put into/order out",
"right": "Right rear put into/order out"
},
"TrafficStopMenu": {
"title": "Traffic stop menu",
"subtitle": "Choose an option",
"go": "Free to go",
"breathalyzer": "Breathalyzer test",
"drugswab": "Drugswab test",
"interactWith": "Interact with",
"orderOut": {
"title": "Order out of vehicle",
"occupants": ["All", "Driver", "Front right", "Back left", "Back right"]
}
},
"TrafficStopPositionMenu": {
"title": "Traffic stop position",
"subtitle": "Choose an option",
"follow": "Enable follow",
"mimic": "Enable mimic",
"marker": "Enable go to marker",
"cancel": "Cancel positioning"
},
"PedCheckMenu": {
"title": "Ped stop menu",
"subtitle": "Choose an option",
"license": "Ask for license",
"question": "Ask questions",
"licenses": [
"Driving",
"Hunting",
"Fishing",
"Weapon"
],
"breathalyzer": "Breathalyzer test",
"drugswab": "Drugswab test",
"move": {
"title": "Move ped",
"types": ["Follow me", "Grab ped"]
},
"search": {
"title": "Search",
"types": ["Ped", "Vehicle"]
},
"cancelMove": {
"title": "Cancel move",
"description": "Cancel following or grabbing."
},
"cuff": "Cuff ped",
"uncuff": "Uncuff ped",
"dismiss": "Dismiss ped"
},
"AdminMenu": {
"title": "Admin menu",
"subtitle": "Choose an option",
"garageMenu": {
"title": "Garages",
"subtitle": "Choose an option",
"respawnAll": "Respawn all garages",
"respawnOne": "Respawn garage"
},
"devMenu": {
"title": "Development tools",
"subtitle": "Choose an option",
"save": "Save current position",
"heading": "Add heading to position",
"model": "Add ped model to position",
"change": "Change ped model",
}
}
}
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="%PUBLIC_URL%/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"/><link rel="manifest" href="%PUBLIC_URL%/manifest.json"/><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="bundle.js"></script></body></html>
+1
View File
@@ -17,6 +17,7 @@ start rconlog
start EGRP-Playerlist
//start AboveTags
start Head-Tags
start fivepd
set steam_webApiKey 0C034D20C57C8D6C5A8EED855916981F
setr SCREENSHOT_BASIC_TOKEN 9dfc22d9d7a9ff2