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

engine->GetPlayerNetworkIDString(ed);

------------------------------

In the above, if I use an int instead of    "m_iClientCommandIndex+1" it
works fine.

'm_iClientCommandIndex' : undeclared identifier <-- Is what I get when the
above is in there .. :-/



----- Original Message -----
From: "Alfred Reynolds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 12:59 AM
Subject: RE: [hlcoders] SteamID?


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







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



Reply via email to