Setting Spectator Mode

Hi, I’m currently working on a gamemode, which I am very new to, and I was wondering simply how to put the player into spectator mode. I tried


ply:Spectate(OBS_MODE_ROAMING);

but that doesn’t work, and I feel like it is meant for something else.

I wonder why the search button wont work for some people…

Besides, try this thread:

https://facepunch.com/favicon.ico

[solved] Round System Help? #4.