Cops online command

So i have robberies working within fxserver

My question now is what command could i use to check if theres cops online?

If no cops online a action cant be completed

Thanks in advance

This isn’t the section for support with a script. Plus, you should post in the release topic for help with that script.