1.1 --- a/core/PlayerManager.h Wed Apr 11 20:07:20 2007 +0000
1.2 +++ b/core/PlayerManager.h Thu Apr 12 00:45:53 2007 +0000
1.3 @@ -95,6 +95,7 @@
1.4 IGamePlayer *GetGamePlayer(edict_t *pEdict);
1.5 int GetMaxClients();
1.6 int GetNumPlayers();
1.7 + int GetClientOfUserId(int userid);
1.8 public:
1.9 inline int MaxClients()
1.10 {
1.11 @@ -117,6 +118,7 @@
1.12 IForward *m_clauth;
1.13 IForward *m_onActivate;
1.14 CPlayer *m_Players;
1.15 + int *m_UserIdLookUp;
1.16 int m_maxClients;
1.17 int m_PlayerCount;
1.18 bool m_FirstPass;