[ESX] How can I create a system for my cops to get out of service and return without the need for an admin?

I have the esx_police and I would like if there is a system to get out of the police and enter without needing an admin to put it through /setjob

Ask in the original topic.

I mean here is a thought, Add a section in the user database, call it “cop” and add a 1 for all the cops and a 0 for all the non cops, then create a function to check if they have that, and if they do! then they can do /duty and it will set there job as a cop and /offduty will set there job to Unemployed problem solved, :slight_smile: Just find where the “setjob” function is called and simply add a check and then bam :slight_smile: replicate it :slight_smile: not saying it would be easy but thats an idea on how to get it to work :slight_smile: only person who would really be able to help would be the original creator of it sadly.