How do I add to where when I switch to a skin it will be s_m_y_hwaycop_01
Hello,
I’ve installed essentialmode latest version with esx and all required scripts to run the esx_policejob script.
Everything seems to be working, except that I can’t buy weapon from the armory, when i click on buy weapons, nothing happen
config.lua (11.6 KB)
I only changed the blip coordinates…
Help appreciated
in data ??
or files
I would like to set all the prices for police as FREE, but when I change values in config file to 0 and restart my server. The police menu still charges people for items.
Im looking for handcuffs scipt for everyone, as item and with policemenu.
Currently getting an error when trying to take out vehicles from the garage with 1.3.0.
uncaught typeerror: cannot read property length in undefined.
Hello,
When i try and interact with players using the f6 menu it comes up “No Players Nearby” Is this because im using OneSync? any fixes would be appreciated !
Dont know if its a bug In police job or garage mod. but when i try to buy a police car i get stuck in car.
hello when i add the police job into my datatbase the f6 does not want to work for it anyreasons? i havnt touched the config
Hello maybe somebody do this before and can help me, i want to create item like Police GPS and if police officer has this item other officers can see his blip and when someone take this item blip disappears.
How can I set to buy ammo from police shop?
The problem must be in database. You propably changed the names from jobs_grades. I recommend to change only from jobs > police > label <- and put the defaults from sql that gives you the resoruce
Maybe someone can give me the config, so that all pd’s and sd are available in the job with all blibs, etc.? changed it manually but then the job did not work anymore !! maybe someone already has that with the current police job …
Thank you
Did you find an answer for your problem. I am having it too
exactly like how you said I have. What should I do now to fix it. do I need to remove Society_police from addon_account or what ?
Hi guys, I found a way to fix buying society cars for the police and getting them in and out of the garage. Also getting all police cars back to the garage on server crash/restart. You can see my 2 posts here in case you need help with that, hoep it works for you guys!
Buy society cars and get them in and out of garage: https://github.com/ESX-Org/esx_policejob/issues/284
Return cars to garage on server crash/disconnect: https://github.com/ESX-Org/esx_policejob/issues/285
I have an error
SQL query:
``
INSERT INTO `jobs` (name, label) VALUES
('police','LSPD')
#1146 - Table 'fivemdata.jobs' doesn't exist
How can i turn off the vehicle shop in the police station and how can everybody get a police car for free without getting it stored in their personal garage?
Go into the config and set the price to 0
Config.AuthorizedVehicles = {
Shared = {
{
model = 'police',
label = 'Police Cruiser',
price = 10000
},
{
model = 'pbus',
label = 'Police Prison Bus',
price = 5000
}
},
recruit = {
},
officer = {
{
model = 'police3',
label = 'Police Interceptor',
price = 20000
}
},
sergeant = {
{
model = 'policet',
label = 'Police Transporter',
price = 18500
},
{
model = 'policeb',
label = 'Police Bike',
price = 30500
}
},
intendent = {
},
lieutenant = {
{
model = 'riot',
label = 'Police Riot',
price = 70000
},
{
model = 'fbi2',
label = 'FIB SUV',
price = 60000
}
},
chef = {
},
boss = {
}
}
Set the price = 2000 to price = 0
If you want to remove the vehicle spawner outside at the garage just comment out the code.
Like this
--[[
Vehicles = {
{
Spawner = vector3(454.6, -1017.4, 28.4),
InsideShop = vector3(228.5, -993.5, -99.5),
SpawnPoints = {
{ coords = vector3(438.4, -1018.3, 27.7), heading = 90.0, radius = 6.0 },
{ coords = vector3(441.0, -1024.2, 28.3), heading = 90.0, radius = 6.0 },
{ coords = vector3(453.5, -1022.2, 28.0), heading = 90.0, radius = 6.0 },
{ coords = vector3(450.9, -1016.5, 28.1), heading = 90.0, radius = 6.0 }
}
},
{
Spawner = vector3(473.3, -1018.8, 28.0),
InsideShop = vector3(228.5, -993.5, -99.0),
SpawnPoints = {
{ coords = vector3(475.9, -1021.6, 28.0), heading = 276.1, radius = 6.0 },
{ coords = vector3(484.1, -1023.1, 27.5), heading = 302.5, radius = 6.0 }
}
}
},
--]]
