Quote:
Originally Posted by asherkin
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(steamID, sizeof(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"?