View Single Post
Geit
Senior Member
Join Date: Oct 2009
Location: Home
Old 08-21-2014 , 19:36   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #60

I wrote this quickly for people who need the old style Steam IDs for their plugins until they get a chance to properly patch it.

Code:
stock bool:GetClientAuthString_Steam2(client, String:authStringDest[], strSize, bool:validate = true)
{    
    new accountID = GetSteamAccountID(client, validate);
    
    if(accountID == 0)
        return false;
    
    FormatEx(authStringDest, strSize, "STEAM_0:%i:%i", (accountID % 2), accountID / 2);
    return true;
}
__________________

Last edited by Geit; 08-29-2014 at 19:52.
Geit is offline