diff --git a/AntiBhopCheat/scripting/AntiBhopCheat.sp b/AntiBhopCheat/scripting/AntiBhopCheat.sp index 4b2f3d61..4dccac5d 100644 --- a/AntiBhopCheat/scripting/AntiBhopCheat.sp +++ b/AntiBhopCheat/scripting/AntiBhopCheat.sp @@ -466,7 +466,10 @@ public Action Command_Streak(int client, int argc) int FormatStats(int client, int iTarget, char[] sBuf=0, int len=0) { - int iBuf = ConsoleFormat(client, sBuf, len, "[SM] Bunnyhop stats for %L\n", iTarget); + int iUserID = GetClientUserId(iTarget); + char sAuth[32]; + GetClientAuthId(iTarget, AuthId_Steam2, sAuth, sizeof(sAuth)); + int iBuf = ConsoleFormat(client, sBuf, len, "[SM] Bunnyhop stats for %N<%d><%s>\n", iTarget, iUserID, sAuth); CPlayer Player = g_aPlayers[iTarget]; @@ -493,7 +496,10 @@ int FormatStats(int client, int iTarget, char[] sBuf=0, int len=0) int FormatStreak(int client, int iTarget, int iStreak, char[] sBuf=0, int len=0) { - int iBuf = ConsoleFormat(client, sBuf, len, "[SM] Bunnyhop streak %d for %L\n", iStreak, iTarget); + int iUserID = GetClientUserId(iTarget); + char sAuth[32]; + GetClientAuthId(iTarget, AuthId_Steam2, sAuth, sizeof(sAuth)); + int iBuf = ConsoleFormat(client, sBuf, len, "[SM] Bunnyhop streak %d for %N<%d><%s>\n", iStreak, iTarget, iUserID, sAuth); CPlayer Player = g_aPlayers[iTarget]; ArrayList hStreaks = Player.hStreaks;