View Single Post
michalextaza
Junior Member
Join Date: Apr 2013
Old 04-21-2013 , 12:23   Re: [CSS] Steam_SetCustomSteamID with steamtools
Reply With Quote #22

Quote:
Originally Posted by asherkin View Post
Moved the thread to the SteamTools forum.


That's exactly what this function doesn't do, it's nothing about setting a client's SteamID.
Helping without understanding doesn't help anyone.


This is mostly correct.

The comment about OnClientPreConnect and the Connect extension only applies to the DLC and Subscription functions.

Basically the idea is that you can do something like this:
PHP Code:
Steam_SetCustomSteamID("STEAM_0:1:13776935");
Steam_RequestStats(USE_CUSTOM_STEAMID);

...

public 
Steam_StatsReceived(client)
{
    if (
client == USE_CUSTOM_STEAMID)
    {
        new 
String:steamID[32];
        
Steam_GetCustomSteamID(steamIDsizeof(steamID));
        
PrintToChatAll("Got stats for %s."steamID);
    }

It might not work for all functions.
Tell me please how to do this? In what files need to insert these lines?

And will it be modified steam _d displayed in "status"?

Last edited by michalextaza; 04-21-2013 at 12:23.
michalextaza is offline