how can i add police peds to the esx_policejob. I now how to add them on the server but not on the esx_policejob. Can someone generous help me?
put this into your config.lua
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_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
Cloakrooms = {
{ x = 456.460, y = -990.6, 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_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
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 = 1873.02, y = 3685.22, z = 32.7 },
Heading = 204.8,
}
},
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_PUMPSHOTGUN', price = 600 },
{ name = 'WEAPON_STUNGUN', price = 500 },
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
{ name = 'GADGET_PARACHUTE', price = 300 },
},
Cloakrooms = {
{ x = -443.283, y = 6012.85, z = 30.7 },
},
Armories = {
{ x = -449.202, y = 6017.09, z = 30.7 },
},
Vehicles = {
{
Spawner = { x = -449.812, y = 6011.46, z = 30.7 },
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 }
},
},
}
You might want to change some stuff. This is setup for my server but its a good start.
@CaptFacePwn My file is quite long and too much to post here. Send me a pm and I can show you how I set mine up.
Select the database “essentialmode” and install esx_addo_naccount.
Hi, I have a problem! Namely, police rankings are banned, it means that I can give rank to sergeant I, but as I give above, you can not change and pull the car out …
Can someone help me please, I am trying to add more police cars to the police garage, however when i edit the config.lua, it just resets and puts it back to what it was before.
Same. Struggling with this!
Great will try that thanks!
How can i cuff/uncuff players?
how do you make it so all the outfits u can see because when im swat or anything it doenst show anything but bulletproof vest but nothing to do with police but with other ranks all it shows is normal police uniform but when i go into the files it shows that there is a swat skin but i want it so even if your a level 1 police officer u can still see all of the uniforms and im just confused why when im swat captain rank it doesnt show any police outfits
Hello i need help i cant buy weapons
How do I remove sticky bomb from the locker?
Config.lua > then you’ll see “authorized_weapons” simply remove { name = ‘WEAPON_STICKYBOMB’, price = xx }, (just for sure don’t leave empty lines, it caused policejob crash for me)
Everytime i press F6 i get up the message ‘’ Translation [EN][service_not] does not exist. I have the latest policejob. I have change Maxinservice in the config to 4. And i still get this message, even if i am in service i get it. Does somebody have any idees what it can be?
Seems like you are missing the translation file of it
Check your _resource file ‘locales/en.lua’
I have them… This happend after i restarted my server and i havent changed anything…