Quote:
Originally Posted by Peace-Maker
Seeing lots of error spam like that lately in css.
Code:
L 12/22/2011 - 03:17:50: [SM] Native "GetTeamName" reported: Team index 0 is invalid
L 12/22/2011 - 03:17:50: [SM] Displaying call stack trace for plugin "superlogs-css.smx":
L 12/22/2011 - 03:17:50: [SM] [0] Line 18, C:\Users\nshastings\Desktop\sm\11scripting\13scripting\include\loghelper.inc::GetTeams()
L 12/22/2011 - 03:17:50: [SM] [1] Line 160, superlogs-css.sp::OnMapStart()
|
Here's a version, which doesn't call GetTeamName on index 0 and just statically names team 0 "Unassigned".