How to use onSpawn
#1
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?
Thanks given by:


Messages In This Thread
How to use onSpawn - by jamz - 14 Feb 14, 01:46PM
RE: How to use onSpawn - by Bukz - 14 Feb 14, 02:55PM
RE: How to use onSpawn - by |HP| - 14 Feb 14, 03:07PM
RE: How to use onSpawn - by Bukz - 14 Feb 14, 03:08PM
RE: How to use onSpawn - by jamz - 15 Feb 14, 12:29AM