Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.StatLog | +--Engine.StatLogFile | +--Botpack.UTStatLogFile
void
LogPlayerInfo(Pawn Player)
00001 class UTStatLogFile expands StatLogFile; 00002 00003 function LogPlayerInfo(Pawn Player) 00004 { 00005 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"TeamName"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.PlayerReplicationInfo.TeamName); 00006 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"Team"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.PlayerReplicationInfo.Team); 00007 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"TeamID"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.PlayerReplicationInfo.TeamID); 00008 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"Ping"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.PlayerReplicationInfo.Ping); 00009 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"IsABot"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.PlayerReplicationInfo.bIsABot); 00010 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"Skill"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Player.Skill); 00011 if (Bot(Player) != None) 00012 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"Novice"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$Bot(Player).bNovice); 00013 else 00014 LogEventString(GetTimeStamp()$Chr(9)$"player"$Chr(9)$"Novice"$Chr(9)$Player.PlayerReplicationInfo.PlayerID$Chr(9)$"False"); 00015 } 00016 00017 defaultproperties 00018 { 00019 }