Skip to content

Commit

Permalink
feat: switch to steam auth id 3 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway authored Oct 31, 2024
1 parent 0b956a3 commit 34f1c67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/CallAdmin.sp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Plugin myinfo =
name = PLUGIN_NAME,
author = "inGame, maxime1907, .Rushaway",
description = "Send a calladmin message to discord",
version = "2.0.4",
version = "2.0.5",
url = "https://github.com/srcdslab/sm-plugin-CallAdmin"
};

Expand Down Expand Up @@ -371,8 +371,8 @@ stock void SendWebHook(int userid, char sReason[256], char sWebhookURL[WEBHOOK_U

/* Caller authid informations */
char sAuth[32];
GetClientAuthId(client, AuthId_Steam2, sAuth, sizeof(sAuth), false);
FormatEx(sCallerInfos, sizeof(sCallerInfos), "%s [%s]", sCallerInfos, sAuth);
GetClientAuthId(client, AuthId_Steam3, sAuth, sizeof(sAuth), false);
FormatEx(sCallerInfos, sizeof(sCallerInfos), "%s %s", sCallerInfos, sAuth);

/* Quick Connect */
char sConnect[256], sURL[256], sNetIP[32], sNetPort[32];
Expand Down

0 comments on commit 34f1c67

Please sign in to comment.