View Single Post
R1KO
Member
Join Date: Sep 2013
Old 07-28-2016 , 10:37   Re: [ANY] SteamWorks
Reply With Quote #433

Quote:
Originally Posted by asherkin View Post
It just takes the group's accountid, not the rest of the junk in the 64-bit id.
Yes, that's the way it works
PHP Code:
SteamWorks_GetUserGroupStatus(iClient103582791429521979); 
But if you use convar:
PHP Code:
ConVar g_SteamGroupID;

g_SteamGroupID CreateConVar("sm_steam_groupid""103582791429521979""Group ID");

char szBuffer[64];
LogMessage("g_SteamGroupID - %i"g_SteamGroupID.IntValue);
g_SteamGroupID.GetString(szBuffersizeof(szBuffer));
LogMessage(" g_SteamGroupID - %s"szBuffer);
LogMessage(" g_SteamGroupID - %i"StringToInt(szBuffer));

SteamWorks_GetUserGroupStatus(iClientg_SteamGroupID.IntValue); 
log:
Quote:
g_SteamGroupID - -2147483648
g_SteamGroupID - 103582791429521979
g_SteamGroupID - -1
R1KO is offline
Send a message via Skype™ to R1KO