Quote:
Originally Posted by asherkin
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(iClient, 103582791429521979);
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(szBuffer, sizeof(szBuffer));
LogMessage(" g_SteamGroupID - %s", szBuffer);
LogMessage(" g_SteamGroupID - %i", StringToInt(szBuffer));
SteamWorks_GetUserGroupStatus(iClient, g_SteamGroupID.IntValue);
log:
Quote:
g_SteamGroupID - -2147483648
g_SteamGroupID - 103582791429521979
g_SteamGroupID - -1
|