#include <sourcemod>
#include <morecolors>
public void OnPluginStart()
{
RegConsoleCmd("sm_sid", command_steamid);
RegConsoleCmd("sm_uid", command_uid);
AutoExecConfig(true,"steamid");
}
public Action:command_steamid(client, args)
{
decl String:auth[32];
GetClientAuthId(client,AuthId_Steam2,auth,sizeof(auth));
CPrintToChat(client, "{green}Ваш SteamID: {white}%s", auth);
}
public Action:command_uid(client, args)
{
decl String:auth2[32];
GetClientAuthId(client,AuthId_Steam3,auth2,sizeof(auth2));
CPrintToChat(client, "{green}Ваш UID: {white}%s", auth2);
}