View Single Post
Visual77
Veteran Member
Join Date: Jan 2009
Old 08-19-2009 , 19:16   Re: [L4D] Remember Spectators
Reply With Quote #2

Nice work, bman.

I always had the problem when a player would go spectate right about the time the map would change. It would force the player to join the infected or the survivor team while still being afk, thus ruining the game for everyone. This will save me a lot of trouble. Thanks.

Btw, got some error logs.

Code:
L 08/20/2009 - 00:01:39: SourceMod error session started
L 08/20/2009 - 00:01:39: Info (map "l4d_vs_hospital01_apartment") (file "errors_20090820.log")
L 08/20/2009 - 00:01:39: [SM] Native "GetClientTeam" reported: Client 6 is not in game
L 08/20/2009 - 00:01:39: [SM] Displaying call stack trace for plugin "l4d_spec_remember.smx":
L 08/20/2009 - 00:01:39: [SM] [0] Line 38, /home/groups/alliedmodders/forums/files/4/4/5/7/4/47874.attach::Event_RoundEnd()
L 08/20/2009 - 00:01:55: [SM] Native "GetClientTeam" reported: Client 6 is not in game
L 08/20/2009 - 00:01:55: [SM] Displaying call stack trace for plugin "l4d_spec_remember.smx":
L 08/20/2009 - 00:01:55: [SM] [0] Line 38, /home/groups/alliedmodders/forums/files/4/4/5/7/4/47874.attach::Event_RoundEnd()
L 08/20/2009 - 00:02:00: [SM] Native "GetClientTeam" reported: Client 3 is not in game
L 08/20/2009 - 00:02:00: [SM] Displaying call stack trace for plugin "l4d_spec_remember.smx":
L 08/20/2009 - 00:02:00: [SM] [0] Line 38, /home/groups/alliedmodders/forums/files/4/4/5/7/4/47874.attach::Event_RoundEnd()
L 08/20/2009 - 00:02:15: [SM] Native "GetClientTeam" reported: Client 3 is not in game
L 08/20/2009 - 00:02:15: [SM] Displaying call stack trace for plugin "l4d_spec_remember.smx":
L 08/20/2009 - 00:02:15: [SM] [0] Line 38, /home/groups/alliedmodders/forums/files/4/4/5/7/4/47874.attach::Event_RoundEnd()
L 08/20/2009 - 00:02:53: Error log file session closed.

Last edited by Visual77; 08-19-2009 at 19:23.
Visual77 is offline