ABC: use default steamid for prints
This commit is contained in:
parent
95d3a1a9d5
commit
470d8f9780
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user