Not Authorized to buy a police vehicle from police garage menu

I started my server and gave myself the highest role for pd. when I try to go to the garage and buy a vehicle it says I am not authorized to do so. Is there any dependancies I have to install or something I can do to fix this error?

Are you using ESX?
Open config.lua in police job and try this :

Config.AuthorizedVehicles = {
	car = {
		recruit = {
			{model = 'police3', price = 20000}
		},

		officer = {
			{model = 'police2', price = 20000},
			{model = 'police3', price = 20000}
		},

		sergeant = {
			{model = 'police2', price = 20000},
			{model = 'police3', price = 20000},
			{model = 'policet', price = 18000},
			{model = 'policeb', price = 30000}
		},

		lieutenant = {
			{model = 'police2', price = 20000},
			{model = 'police3', price = 20000},
			{model = 'policet', price = 18000},
			{model = 'policeb', price = 30000},
			{model = 'riot', price = 70000},
			{model = 'fbi2', price = 60000}
		},

		boss = {
			{model = 'police2', price = 20000},
			{model = 'police3', price = 20000},
			{model = 'policet', price = 18000},
			{model = 'policeb', price = 25000},
			{model = 'riot', price = 60000},
			{model = 'fbi2', price = 50000},
			{model = 'fbi', price = 50000}
		}
	},

You can modify it as you want, also it’s same for helicopters.

1 Like

Yes! That was the issue, helped a lot. thank you very much. for some reason the boss had no rights to buy any vehicle for some reason.

You’re welcome :slight_smile: