Third person spectating

Hello. I’ve been running my GMOD prop hunt server for 2 months now and for some time I’ve been trying to disable the free-roam spectating for dead players, so that dead players would only be able to spectate in third person . I feel kind of bad, because I know that it’s not hard to do but still I can’t do it. I hope that someone can help me :frowning:

Have you tried looking for the spectator code in the gamemode files and looking at what it calls when switching spectator modes and just disabling the free roam option? I don’t know how extensively you know lua so let me know

I’m so blind. In a 2 month time I didn’t think about looking for the spectator code. Thank you for pointing me in the right direction.