WON id code in 1.6
I was using the following code in 1.5 to check for certain players.
char WONID[32]; sprintf (WONID, "%d\n", g_engfuncs.pfnGetPlayerWONId(pPlayer)); if (strcmp ("3058868", WONID) == 0) // matched Does this work in 1.6? I noticed that HLSW now shows WONid like this. STEAM_0:0:3363193 |
Re: WON id code in 1.6
That might have something to do with the fact that there is no WON anymore.
It's called "Steam", and it's about as new as the news that HL2 was delayed the first time. 9_9 (Just playin man lol) For clarification in your code, I suggest replacing "WONID" with "STEAMID" and strcmp'ing for STEAM_0:0:3363193 (or whatever player's SteamID you're looking for) |
Re: WON id code in 1.6
use pfnGetPlayerAuthId() instead.
(can't remember the function name exactly but it has "authid" in it) |
Re: WON id code in 1.6
that's it.
|
Re: WON id code in 1.6
Tx, everyone.
|
All times are GMT +2. The time now is 07:55. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.