14 Feb 14, 01:46PM
I want to use a combination of setfollowplayer and onSpawn to spectate a player in-game. Right now (should be fixed/modified if anybody wants to patch it) spectate moves to the next alive cn when the player you're watching dies, or switches to free spectate if no-one is alive. I'd like it to switch back to a set cn when that player respawns.
However, I can't understand how to use onSpawn. I know it needs to be 'declared' first, but how do I integrate the cn into this, and how do I combine it with setfollowplayer?
However, I can't understand how to use onSpawn. I know it needs to be 'declared' first, but how do I integrate the cn into this, and how do I combine it with setfollowplayer?