CSS Style Spectating

Is there a CSS Spectating script out there? Like, SPACE = Change view mode, PRIMARY FIRE = Next player, SECONDARY FIRE = Previous player.

Is there? Or would I need to make this myself?

Thanks :smiley:

Fretta has this.

I think it’s only available in Fretta. But you can code it to do it in other gamemodes.

you can use the Spectate function, like <player>:Spectate(<mode>)

**[Player.Spectate

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.Spectate)**

Example:
[lua]Entity(1):Spectate(OBS_MODE_ROAMING)[/lua]

use **[Player.SpectateEntity

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.SpectateEntity)** to set what to spectate

Yea, thanks, I know that already. I just wanted to know if I had to make the CSS like spectating myself or if there was a script for it.

Thanks for the help all!