Does anyone know how to disable players spectating?

So, I have a server and my officers like to spectate others to figure out where the players are. Is there a way to disable that without disabling ScriptHook?

you would have to disable scripthook for this to work properly and then use a server sided trainer without a spectating option , reason for that is you can ask them nicely to use a different client sided trainer but i doubt they would im sure they use it for a reason, but without disabling scripthook you allow them to use client sided trainers . scripts so they can have whatever they want and you won’t know until they use some troll menu you can try to write some type of script to prevent them from it but it might not work properly until scripthook is disabled also

Stop using client side trainers =D