Hello!
I'm trying to make a plugin that announce in chat when a player enters spectator. I used cs_get_user_team register_event(spectator or txtmsg but in all situation i have the same problem. My plugin doesn't make the diference between dead players and spectators players(teammenu->spectator).
Could you please tell me a solution for this problem? How can i check if a player entered Spectator only with teammenu->spectator and not when it's dead. I would prefer an event that is called only when a player changes his team to spectator if is possible.
Thank you