[Release] [ESX] [Police Job]

Nvm i deleted cache files and everything is working.

How do you make it to where it says BCSO or SAHP instead of just LSSD all the time for your jobā€¦and how do you add uniforms to policejob

I have a problem where when I goto check vehicle info from f6 menu it says Uknown ,anyone have similar issues ?The car isnā€™t spawned its bought from car dealeship .Any possible help or solutions is apreciated.

How do i add more police cars to choose from in the police garage?

are you using the newest version on vehicleshop? Database converted to the new plate system?

in the config.lua, you will see vehicles there. If you want them for all ranks, use the shared vehicles, otherwise place them in the appropriate rank. Just copy the format that is there for the exciting cars. Donā€™t forget your commas

Could you maybe send your police file? or send a gyazo so i can see?

Are you using the lastest version of policejob? Does your config look like this?

yup it looks just like it

perfect, so just follow suite. If you want all your PD cars shared, put them in here. ^^

thanks mate! hope this works

every time i make a change to something weather it be config.lua or client/main.lua after i save it and restart the server it goes back to default???

This is an issue with your editor, or something between you and the server. It has nothing to with ESX itself.

but it doesnt do this to anything else? only with the esx stuff

Alright, but that still doesnā€™t explain how itā€™s a problem relating to this resource. As far as I know we havenā€™t implemented a ā€œconfig reverterā€. So Iā€™ll repeat what I said above, this is most likely an issue on your end. If you find out that the cause is the resource itself please make an issue on the GitHub page.

i cant figure out why

My buddy is having an issue with his server. He has a clock in area where you can clock in or out of police. It works fine, you can clock in, but you arenā€™t given the correct rank when you clock in. Anyone know how to correct it to give you the correct rank?

Hi! I wanna add the right to reviev the players. I have the new script and there isnā€™t reviev system for the police officers. Hereā€™s the old one:

			  end
              if data2.current.value == 'revive' then
                menu.close()

                local ped    = GetPlayerPed(player)
                local health = GetEntityHealth(ped)

                if health == 0 then

                local playerPed        = GetPlayerPed(-1)
                local closestPlayerPed = GetPlayerPed(player)

                Citizen.CreateThread(function()

                  ESX.ShowNotification(_U('revive_inprogress'))

                  TaskStartScenarioInPlace(playerPed, 'CODE_HUMAN_MEDIC_TEND_TO_DEAD', 0, true)
                  Citizen.Wait(10000)
                  ClearPedTasks(playerPed)

                  if GetEntityHealth(closestPlayerPed) == 0 then
                    TriggerServerEvent('esx_firejob:revive', GetPlayerServerId(player))
                    ESX.ShowNotification(_U('revive_complete') .. GetPlayerName(player))
                  else
                    ESX.ShowNotification(GetPlayerName(player) .. _U('isdead'))
                  end

                end)

              else
                ESX.ShowNotification(GetPlayerName(player) .. _U('unconscious'))
              end

            end

            else
              ESX.ShowNotification(_U('no_players_nearby'))
            end

          end,
          function(data2, menu2)
            menu2.close()
          end
        )

I want to add it somehow into the new one. Can someone help me with this please? I want to grant the right to revive the players as a police officers.

Can anyone help me how to install some new playermodels? I need it for my danish rp server :frowning:

help me