How do i add more cars to cops?
When i try to open the police garage it wont open anything when it says press E to open
When i try to open the police garage it wont open anything when it says press E to open
How can i add SWAT outift?
Hi, i have a problem. When im trying to get car (from police parking), like police buffalo, when im clicking āenterā (to get car), nothing happend. I reinstalled esx_policejob and other plugins āneededā. I have a default config. Help pls. Sry for bad eng.
Hi, nice script by the way!
Can u show me how to disable the auto spawner for helicopters?
I keep getting this error when i add esx_policejob.sql
Duplicate entry 'society_police' for key 'PRIMARY'
Its because you most likely set the vehicles for only 1 rank. You can configure what vehicle each police rank (jobgrade) can spawn.
Hello guys!
I have a issue with this script or the database i dont know but.
When a policeman joining the server after server restart he cant do like F6 - He doesent have the job but it says (Police - Aspirant) in the right corner!
Can someone help
OpenBodySearchMenu
I can not use the body_search command with some players. F8 did not find the problem.
Somebody know how to Delete Policemans blips on the map?
Hi! How do i add costum police cars to the police garage in ESX. Best regards Christoffer!
You need to do it in the config.lua
How i can edit this script to work as sheriff?
Alright been beating my head on the deskā¦ so i got my PDās set up and able to get all weapons and such but it will not spawn any cars for meā¦ can some one point me in the correct direction?
Here is my cfg
Config = {}
Config.DrawDistance = 100.0
Config.MarkerType = 1
Config.MarkerSize = { x = 1.5, y = 1.5, z = 1.0 }
Config.MarkerColor = { r = 50, g = 50, b = 204 }
Config.EnablePlayerManagement = true
Config.EnableArmoryManagement = false
Config.EnableESXIdentity = true ā enable if youāre using esx_identity
Config.EnableNonFreemodePeds = true ā turn this on if you want custom peds
Config.EnableSocietyOwnedVehicles = false
Config.EnableLicenses = true ā enable if youāre using esx_license
Config.EnableHandcuffTimer = false ā enable handcuff timer? will unrestrain player after the time ends
Config.HandcuffTimer = 10 * 60000 ā 10 mins
Config.EnableJobBlip = true ā enable blips for colleagues, requires esx_society
Config.MaxInService = -1
Config.Locale = āenā
Config.PoliceStations = {
LSPD = {
Blip = {
Pos = { x = 425.130, y = -979.558, z = 30.711 },
Sprite = 60,
Display = 4,
Scale = 1.2,
Colour = 29,
},
AuthorizedWeapons = {
{ name = 'WEAPON_NIGHTSTICK', price = 200 },
{ name = 'WEAPON_COMBATPISTOL', price = 300 },
{ name = 'WEAPON_ASSAULTSMG', price = 1250 },
{ name = 'WEAPON_ASSAULTRIFLE', price = 1500 },
{ name = 'WEAPON_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'WEAPON_FIREEXTINGUISHER', price = 120 },
{ name = 'WEAPON_FLAREGUN', price = 60 },
{ name = 'WEAPON_STICKYBOMB', price = 250 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
AuthorizedVehicles = {
{name = 'police' , label = 'Police Vehicle 1'},
{name = 'police2', label = 'Police Vehicle 2'},
{name = 'police3', label = 'Police Vehicle 3'},
{name = 'police4', label = 'Police Vehicle 4'},
{name = 'policeb', label = 'Motorcycle'},
{name = 'policet', label = 'Transport Van'},
},
Cloakrooms = {
{ x = 452.600, y = -993.306, z = 29.750 },
},
Armories = {
{ x = 451.699, y = -980.356, 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,
}
},
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 },
},
BossActions = {
{ x = 448.417, y = -973.208, z = 29.689 }
},
},
BCSO = {
Blip = {
Pos = { x = 1853.78, y = 3688.08, z = 38 },
Sprite = 60,
Display = 4,
Scale = 1.2,
Colour = 29,
},
AuthorizedWeapons = {
{ name = 'WEAPON_NIGHTSTICK', price = 200 },
{ name = 'WEAPON_COMBATPISTOL', price = 300 },
{ name = 'WEAPON_ASSAULTSMG', price = 1250 },
{ name = 'WEAPON_ASSAULTRIFLE', price = 1500 },
{ name = 'WEAPON_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'WEAPON_FIREEXTINGUISHER', price = 120 },
{ name = 'WEAPON_FLAREGUN', price = 60 },
{ name = 'WEAPON_STICKYBOMB', price = 250 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
AuthorizedVehicles = {
{name = 'police' , label = 'Police Vehicle 1'},
{name = 'police2', label = 'Police Vehicle 2'},
{name = 'police3', label = 'Police Vehicle 3'},
{name = 'police4', label = 'Police Vehicle 4'},
{name = 'policeb', label = 'Motorcycle'},
{name = 'policet', label = 'Transport Van'},
},
Cloakrooms = {
{ x = 1852.09, y = 3684.12, z = 33.3 },
},
Armories = {
{ x = 1857.17, y = 3689.45, z = 33.3 },
},
Vehicles = {
{
Spawner = { x = 1865.79, y = 3687.97, 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 = 320.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 }
},
},
PBPD = {
Blip = {
Pos = { x = -446.05, y = 6013.7, z = 31.7164 },
Sprite = 60,
Display = 4,
Scale = 1.2,
Colour = 29,
},
AuthorizedWeapons = {
{ name = 'WEAPON_NIGHTSTICK', price = 200 },
{ name = 'WEAPON_COMBATPISTOL', price = 300 },
{ name = 'WEAPON_ASSAULTSMG', price = 1250 },
{ name = 'WEAPON_ASSAULTRIFLE', price = 1500 },
{ name = 'WEAPON_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'WEAPON_FIREEXTINGUISHER', price = 120 },
{ name = 'WEAPON_FLAREGUN', price = 60 },
{ name = 'WEAPON_STICKYBOMB', price = 250 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
AuthorizedVehicles = {
{name = 'sheriff2' , label = 'Sheriff SUV'},
{name = 'police2', label = 'Police Vehicle 2'},
{name = 'police3', label = 'Police Vehicle 3'},
{name = 'police4', label = 'Police Vehicle 4'},
{name = 'policeb', label = 'Motorcycle'},
{name = 'policet', label = 'Transport Van'},
},
Cloakrooms = {
{ x = -443.283, y = 6012.85, z = 30.7 },
},
Armories = {
{ x = -449.202, y = 6017.09, z = 30.7 },
},
Vehicles = {
{
Spawner = { x = -460.34, y = 6014.79, z = 30.4829 },
SpawnPoint = { x = -454.348, y = 6001.85, z = 30.4829 },
Heading = 90.0,
}
},
Helicopters = {
{
Spawner = { x = -466.446, y = 6000.4, z = 30.5737 },
SpawnPoint = { x = -474.999, y = 5989.13, z = 30.6287 },
Heading = 90.0,
}
},
VehicleDeleters = {
{ x = -482.904, y = 6024.91, z = 30.4829 },
{ x = -479.382, y = 6028.29, z = 30.4829 },
},
BossActions = {
{ x = 1848.6, y = 3689.64, z = 33.3 }
},
},
}
Config.AuthorizedVehicles = {
Shared = {
{
model = āpoliceā,
label = āPolice Cruiserā
},
{
model = āpbusā,
label = āPolice Prison Busā
}
},
recruit = {
},
officer = {
{
model = 'police3',
label = 'Police Interceptor'
}
},
sergeant = {
{
model = 'policet',
label = 'Police Transporter'
},
{
model = 'policeb',
label = 'Police Bike'
}
},
intendent = {
},
lieutenant = {
{
model = 'riot',
label = 'Police Riot'
},
{
model = 'fbi2',
label = 'FIB SUV'
}
},
chef = {
{
model = 'sheriff2',
label = 'Sheriff SUV'
},
{
model = 'police3',
label = 'Interceptor'
}
},
boss = {
}
}
Here is something i discovered in the F8 console after trying to spawn a police car from garageā¦I tried tracking it back but no luck then i went and installed latest updates and reinstalled current and same out comeā¦
Config.AuthorizedVehicles = {
Shared = {
{
model = āpoliceā,
label = āPolice Cruiserā
},
{
model = āpbusā,
label = āPolice Prison Busā
},
{
model = āpolice3ā,
label = āPolice Interceptorā
},
{
model = āpolicetā,
label = āPolice Transporterā
},
{
model = āpolicebā,
label = āPolice Bikeā
},
{
model = āriotā,
label = āPolice Riotā
},
{
model = āfbi2ā,
label = āFIB SUVā
},
{
model = āsheriff2ā,
label = āSheriff SUVā
},
{
model = āpolice3ā,
label = āInterceptorā
}
},
Well I have fixed itā¦ its a simple fix but i got it as i an learning .LUA more and more every day you never know it all we all learn everydayā¦ young or oldā¦ so if someone here has the same issue with cars not spawning ill be glad to help youā¦
Iām having the same issue with the cars not spawning at the police station can you help me
PM sent