View Single Post
DukeBruno123
Member
Join Date: Jan 2016
Location: Germany
Old 02-26-2019 , 22:51   Re: CSGO detecting team sides and team switches
Reply With Quote #5

Quote:
Originally Posted by goodBEan View Post
you mean these
mp_logdetail 0 "sv" Logs attacks. Values are: 0=off, 1=enemy, 2=teammate, 3=both)
mp_logdetail_items 0 "sv" Logs a line any time a player acquires or loses an item.
mp_logmoney 0 "sv" Enables money logging. Values are: 0=off, 1=on

I already have the mp log cvars set to log pretty much everything, still see nothing
Yeah exactly those. I tested a short bit yesterday and as far as I know there isn't really a way to tell if teams are switched besides getting the score of each team and manually calculating. Though then you would also have to figure out the values of mp_maxrounds and mp_overtime_maxrounds (Which are reported in the log when you change them). If your script is listening to the logs from the very beginning of when the server loads this might be a solution to your problem.
DukeBruno123 is offline