mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 05:23:20 +00:00
Fix steamids not showing
This commit is contained in:
parent
c3ccda8d2a
commit
7d3f8b604a
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -42,7 +42,7 @@ public Action Cmd_Status2(int client, int args) {
|
||||||
ReplyToCommand(client, "Index\tUserid\tName\tSteamID");
|
ReplyToCommand(client, "Index\tUserid\tName\tSteamID");
|
||||||
for(int i = 0; i < players.Length; i++) {
|
for(int i = 0; i < players.Length; i++) {
|
||||||
int player = players.Get(i);
|
int player = players.Get(i);
|
||||||
GetClientAuthId(player, AuthId_Steam2, buffer, sizeof(buffer));
|
GetClientAuthId(player, AuthId_Steam2, steamid, sizeof(steamid));
|
||||||
GetClientName(player, buffer, sizeof(buffer));
|
GetClientName(player, buffer, sizeof(buffer));
|
||||||
if(StrEqual(buffer, firstName[player]))
|
if(StrEqual(buffer, firstName[player]))
|
||||||
ReplyToCommand(client, "%d.\t#%d\t%s\t%s", player, GetClientUserId(player), buffer, steamid);
|
ReplyToCommand(client, "%d.\t#%d\t%s\t%s", player, GetClientUserId(player), buffer, steamid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue