Oh, and if this is in a plugin:

edict *ed = engine->PEntityOfEntIndex(m_iClientCommandIndex+1);
IPlayerInfo *playerinfo = playerinfomanager->GetPlayerInfo( ed );
playerinfo->GetNetworkIDString();

Or

edict *ed = engine->PEntityOfEntIndex(m_iClientCommandIndex+1);
engine->GetPlayerNetworkIDString(ed);




----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alfred
Reynolds Sent: Friday, December 03, 2004 4:45 PM To:
[EMAIL PROTECTED] Subject: RE: [hlcoders] SteamID?

> CBasePlayer *pPlayer = UTIL_GetCommandClient();
> pPlayer->GetNetworkIDString()
>
> - Alfred
>
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Manip
> Sent:
> Friday, December 03, 2004 4:32 PM To: [EMAIL PROTECTED]
> Subject: [hlcoders] SteamID?
>
> > Does anyone have a method for retrieving a char array version of the
> > callers SteamID from a CON_COMMAND() callback?
> >
> >
> >
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list
> > archives, please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to