diff --git a/addons/sourcemod/scripting/entwatch_dz.sp b/addons/sourcemod/scripting/entwatch_dz.sp index 06d6532..d803296 100644 --- a/addons/sourcemod/scripting/entwatch_dz.sp +++ b/addons/sourcemod/scripting/entwatch_dz.sp @@ -77,7 +77,7 @@ public Plugin myinfo = name = "EntWatch", author = "DarkerZ[RUS], AgentWesker, notkoen, sTc2201, maxime1907, Cmer, .Rushaway, Dolly", description = "Notify players about entity interactions.", - version = "3.DZ.67", + version = "3.DZ.68", url = "dark-skill.ru" }; @@ -440,10 +440,12 @@ public void OnClientPutInServer(int iClient) char sSteamID[32]; GetClientAuthId(iClient, AuthId_Steam2, sSteamID, sizeof(sSteamID)); FormatEx(g_sSteamIDs[iClient], sizeof(g_sSteamIDs[]), "%s", sSteamID); + + GetClientAuthId(iClient, AuthId_Steam3, sSteamID, sizeof(sSteamID)); FormatEx(g_sSteamIDs_short[iClient], sizeof(g_sSteamIDs_short[]), "%s", sSteamID); - ReplaceString(g_sSteamIDs_short[iClient], sizeof(g_sSteamIDs_short[]), "STEAM_", "", true); + ReplaceString(g_sSteamIDs_short[iClient], sizeof(g_sSteamIDs_short[]), "[", "", true); + ReplaceString(g_sSteamIDs_short[iClient], sizeof(g_sSteamIDs_short[]), "]", "", true); g_iUserIDs[iClient] = GetClientUserId(iClient); - // No need to run the next functions for fake clients if (IsFakeClient(iClient)) return; diff --git a/addons/sourcemod/scripting/entwatch_logs_manager.sp b/addons/sourcemod/scripting/entwatch_logs_manager.sp index 493eb7d..5c2691c 100644 --- a/addons/sourcemod/scripting/entwatch_logs_manager.sp +++ b/addons/sourcemod/scripting/entwatch_logs_manager.sp @@ -73,7 +73,7 @@ public Plugin myinfo = name = "EntWatch Logs Manager", author = "DarkerZ[RUS], .Rushaway", description = "Allows you to manage logs from the plugin EntWatch.", - version = "1.DZ.3", + version = "1.DZ.4", url = "dark-skill.ru" }; @@ -174,7 +174,7 @@ public void OnLibraryRemoved(const char[] sName) public void OnClientPostAdminCheck(int iClient) { char sSteamID[32]; - GetClientAuthId(iClient, AuthId_Steam2, sSteamID, sizeof(sSteamID), false); + GetClientAuthId(iClient, AuthId_Steam3, sSteamID, sizeof(sSteamID), false); FormatEx(g_sSteamIDs[iClient], sizeof(g_sSteamIDs[]), "%s", sSteamID); }