There is a bug:
When you type:
"say hi" on the console in the Source Dedicated Server after any of the events triggered: Leaving the safe room, etc., it would show:
Code:
[SM] Native "GetClientTeam" reported: Client index 0 is invalid
I suggest that
Code:
IsClientConnected(client)
IsClientInGame(client)
IsFakeClient(client)
checks should be done.