Jump to content
×
×
  • Create New...
  • 0

Duty Menu Not Working


Question

Hello again, I just updated my FivePD server to the latest v1.2.8 (With the MySQL Hotfix), and after a few minutes of editing the 'vehicles.json', when I go in-game after starting the server, F11 doesn't open the menu.


Current Errors: One error for my FivePD Discord bot not working correctly (Haven't attempted troubleshooting due to the fact I haven't worked on it).
FivePD Version: v1.2.8 with Hotfix for MySQL
Server Version: "3089" (10/25/2020 Build)
OneSync: Disabled


Current Vehicles.json file:

{
	"police": [
		{
			"name": "LSPD 1",
			"vehicle": "police",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 2",
			"vehicle": "police2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 3",
			"vehicle": "police21",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 4",
			"vehicle": "police3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 5",
			"vehicle": "police31",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 6",
			"vehicle": "police4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 7",
			"vehicle": "police41",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 8",
			"vehicle": "police42",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD 9",
			"vehicle": "police5",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPD Bike",
			"vehicle": "policeb",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [1]
		},
		{
			"name": "LSPA 1",
			"vehicle": "policeport",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "LSPA 2",
			"vehicle": "policeport2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "LSPA 3",
			"vehicle": "policeport21",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "LSPA 4",
			"vehicle": "policeport3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [2]
		},
		{
			"name": "LSIAPD 1",
			"vehicle": "policelsia",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "LSIAPD 2",
			"vehicle": "policelsia2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "LSIAPD 3",
			"vehicle": "policelsia21",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "LSIAPD 4",
			"vehicle": "policelsia3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [3]
		},
		{
			"name": "DPPD 1",
			"vehicle": "policedp",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [4]
		},
		{
			"name": "DPPD 2",
			"vehicle": "policedp2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [4]
		},
		{
			"name": "DPPD 3",
			"vehicle": "policedp21",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [4]
		},
		{
			"name": "DPPD 4",
			"vehicle": "policedp3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [4]
		},
		{
			"name": "BCSO 1",
			"vehicle": "sheriff",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 2",
			"vehicle": "sheriff2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 3",
			"vehicle": "sheriff3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 4",
			"vehicle": "sheriff31",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 5",
			"vehicle": "sheriff4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 6",
			"vehicle": "sheriff5",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 7",
			"vehicle": "sheriff6",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 8",
			"vehicle": "sheriff61",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "BCSO 9",
			"vehicle": "sheriffint",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [5]
		},
		{
			"name": "LSSD 1",
			"vehicle": "lssheriff",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 2",
			"vehicle": "lssheriff2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 3",
			"vehicle": "lssheriff3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 4",
			"vehicle": "lssheriff31",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 5",
			"vehicle": "lssheriff4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 6",
			"vehicle": "lssheriff5",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 7",
			"vehicle": "lssheriff6",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 8",
			"vehicle": "lssheriff61",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "LSSD 9",
			"vehicle": "lssheriffint",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [6]
		},
		{
			"name": "SAHP 1",
			"vehicle": "hwaycar",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 2",
			"vehicle": "hwaycar2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 3",
			"vehicle": "hwaycar3",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 4",
			"vehicle": "hwaycar4",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 5",
			"vehicle": "hwaycar5",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 6",
			"vehicle": "hwaycar6",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 7",
			"vehicle": "hwaycarint",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "SAHP 8",
			"vehicle": "hwayswatcar",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [7]
		},
		{
			"name": "FBI 1",
			"vehicle": "fbi",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [8]
		},
		{
			"name": "FBI 2",
			"vehicle": "fbi2",
			"isAvailableForEveryone": false,
			"useRanks": false,
			"availableForDepartments": [8]
		}
	],
	"ambulance": ["ambulance"],
	"airAmbulance": ["polmav"],
	"firedept": ["firetruk"],
	"coroner": ["coroner", "ambulance"],
	"towtruck": ["flatbed"],
	"mechanic": ["utillitruck3"],
	"prisontransport": ["police", "sheriff", "hwaycar", "lssheriff", "policedp", "policelsia"],
	"animalControl": ["bison"],
	"taxi": ["taxi", "taxi2", "stainer"]
}

 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.