View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 08-18-2013 , 13:22   Re: [INC] loghelper (updated 2010-05-27)
Reply With Quote #5

Quote:
Originally Posted by Peace-Maker View Post
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".
Attached Files
File Type: inc loghelper.inc (9.0 KB, 789 views)
__________________
Peace-Maker is offline