How do I add so players can enter and exit service? For police and ambulance?

Hi. how I do so that the player can enter and exit service. for policejob and ambulancejob? It is an esx or something of that because I searched and did not find anywhere. if so, could you explain how to configure it for 2? I would appreciate it many. Postscript excuse me for the English I’m from Argentina. : D

It doens’t work, shows only notification that you go offduty, you can still access the menu etc.

same dosent work sais that only