No Out Service... Esx_service & Esx_policejob

Hi guys…
I have a problem, and what happens is that my scripts no longer have any errors, but … when I want to go out of service in my dressing room, I simply do not go out, I change my clothes but in my scoreboard it continues to show that there is a police officer on duty ,

Here is my code and a few pieces of evidence.

main.lua esx_service

main.lua (1.7 KB)

main.lua Esx_Policejob

main.lua (14.0 KB)

thanks for your help. :grinning:

1 Like

I believe that is just a feature of the scoreboard. I have used that resource before and I have always had that as a problem with the scoreboard. However you could choose it to list you as a different role such as a civ, or take you off of the scoreboard all together.

The resource only scans for your job, not if you are on duty or not.

When you go off service your job is still a police, check your job when you go off service vs in service. You have to use a duty script to change the job to a offpolice

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.