[Release] [ESX] [Police Job]

check config for mispelled weapons

hii guys… i need some help for police job. its about money wash for police… how can i add money wash in boss action in police job. anyone can help me

I have an issue where when I try to search or handcuff players ingame, it says no player nearby, I downgraded to a clean version of the script and still have the same issue. We do have onesync in our server

hi i have a guestion the police job have a function that is on f6 you cna se ho is owner of the car but i have two diffrent sql like owned_vehicles and owned_carshop

the function is MySQL.Async.fetchAll(ā€˜SELECT * FROM owned_vehicles WHERE @plate = plate’, {

is it some way you can make the funktion read both ower_carshop and owned_ vehicels ? thanks for help

Kinda looking through the thread along with searching and couldnt find it… My carshop for PD works fine, they can buy cars, but when they try to open the garage nothing happens…

Why is there a big white blip above the police station?
Imgur

Then go to your data base, go to jobs, turn it it from a 0 to a 1 then it is white listed.

When the cops search the f6 menu, their gun appears

HELPP

i have problems with starting it. its happend out of it no where. i started it on multiple places in the cfg none of them worked

do i just add all the requirements in the in the esx folder in resources?

Anyoneknow

Let me know if you found a fix. I know mine is for the esx_jobs but I think its kind of the same path that might help myself or you. Somewhat. What did you do to fix if you have or any ideas.

Hi, i have been trying to add more police stations on my server for a few days now, but i cant find out whats wrong, can someone help me?config.lua (16.9 KB)

main.lua (12.9 KB)

Hey. I really enjoy this addon for ESX. I’m hoping someone could help me haha. Every time a user tries to select a vehicle to buy from the list it crashes the menu. And for the life of me I can’t figure out how to fix it. I probably broke something but I can’t figure it out. oof. x.x sorry for my ignorance but I can’t seem to find other people having this issue. Which, also tells me I screwed up somewhere.

1 Like

Did you ever figure this out ?

I keep getting this error on my database

@evan10aaa Look at your import on line one there is something there that doesn’t belong

Make a client file and put this in it:

Citizen.CreateThread(function()
    AddTextEntry("Vehicle spawnname", "What you whant it do display")
end)

ex:

Citizen.CreateThread(function()
    AddTextEntry("police2", "Police Car 2")
end)

One line over the ā€œCouldn’t startā€ error it says: Could not fins esx_billing.
Download esx_billing and put it in your server.

Try this instead:

Config.PoliceStations = {

	LSPD = {

		Blip = {
			Pos     = { x = 425.130, y = -979.558, z = 30.711 },
			Sprite  = 60,
			Display = 4,
			Scale   = 0.8,
			Colour  = 29,
		},

		AuthorizedWeapons = {
			{ name = 'WEAPON_NIGHTSTICK',       price = 200 },
			{ name = 'WEAPON_STUNGUN',          price = 500 },
			{ name = 'WEAPON_FLASHLIGHT',       price = 80 },
		},

		Cloakrooms = {
			{ x = 452.600, y = -993.306, z = 29.750 },
		},

		Armories = {
			{ x = 459.731, y = -981.057, z = 29.689 },
		},

		Vehicles = {
			{
				Spawner    = { x = 454.69, y = -1017.4, z = 27.430 },
				SpawnPoint = { x = 438.42, y = -1018.3, z = 27.757 },
				Heading    = 90.0
			},

			{
				Spawner    = { x = 473.38, y = -1018.43, z = 27.00 },
				SpawnPoint = { x = 475.98, y = -1021.65, z = 28.06 },
				Heading    = 276.11
			}
		},

		Helicopters = {
			{
				Spawner    = { x = 466.477, y = -982.819, z = 42.691 },
				SpawnPoint = { x = 450.04, y = -981.14, z = 42.691 },
				Heading    = 0.0
			}
		},

		VehicleDeleters = {
			{ x = 462.74, y = -1014.4, z = 27.065 },
			{ x = 462.40, y = -1019.7, z = 27.104 },
			{ x = 469.12, y = -1024.52, z = 27.20 }
		},

		BossActions = {
			{ x = 448.417, y = -973.208, z = 29.689 }
		},

	},

BCSO= {

		Blip = {
			Pos     = { x = 1853.78, y = 3688.08, z = 38.0 },
			Sprite  = 60,
			Display = 4,
			Scale   = 0.8,
			Colour  = 29,
		},

		AuthorizedWeapons = {
			{ name = 'WEAPON_NIGHTSTICK',       price = 200 },
			{ name = 'WEAPON_STUNGUN',          price = 500 },
			{ name = 'WEAPON_FLASHLIGHT',       price = 80 },
		},

		Cloakrooms = {
			{ x = 1852.09, y = 3684.12, z = 33.3 },
		},

		Armories = {
			{ x = 1857.17, y = 3689.45, z = 33.3 },
		},

		Vehicles = {
			{
				Spawner    = { x = 1851.58, y = 3690.5, z = 33.3 },
				SpawnPoint = { x = 1863.74, y = 3680.65, z = 32.7 },
				Heading    = 30.0
			}

			},

		Helicopters = {
			{
				Spawner    = { x = 466.477, y = -982.819, z = 42.691 },
				SpawnPoint = { x = 450.04, y = -981.14, z = 42.691 },
				Heading    = 0.0
			}
		},

		VehicleDeleters = {
			{ x = 1853.94, y = 3675.92, z = 32.7 },
			{ x = 1850.46, y = 3674.05, z = 32.7 }
		},

		BossActions = {
			{ x = 1848.6, y = 3689.64, z = 33.3 }
		},

	}

}

I removed a } infron of BCSO

i add 2 police jobs with deffenrent names first one called esx_policejob and second
called esx_gendarmejob but when i buy cars from chop the menu doesn’t show so i tried to stop esx_gendarmejob and the menu of esx_police work fine. i need help to get them work with to ars menu

sorrry for my english