18.12.2012, 09:00
When a player recon, you should save the target inside a variable for this player.
Then we a player die, you check if there is anyone with his ID at the target variable (which means he is spectating him) and you toggle spectation for that player.
Be sure you also remove this variable when you use to stop recon command.
Then we a player die, you check if there is anyone with his ID at the target variable (which means he is spectating him) and you toggle spectation for that player.
Be sure you also remove this variable when you use to stop recon command.