Maybe not, when I mean client, I mean the local player.
 
Does this work, I believe it does.
 
if(g_TeamInfo[g_PlayerExtraInfo[ m_iSortedRows[row] ].teamnumber].ownteam) // IfLocal player is on the same team as the player we are sorting.
{
   sprintf(sz, "%d", g_PlayerExtraInfo[ m_iSortedRows[row] ].numberoflives ); 
}
----- Original Message -----
From: "Miguel Aleman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 6:01 AM
Subject: Re: [hlcoders] Finding out Client's Team Index in Scoreboard Code

> Man, I can't believe I didn't see that earlier.
>
> Thanks though.
>
> ----- Original Message -----
> From: "Reedbeta" <
[EMAIL PROTECTED]>
> To: <
[EMAIL PROTECTED]>
> Sent: Tuesday, December 04, 2001 7:53 PM
> Subject: Re: [hlcoders] Finding out Client's Team Index in Scoreboard Code
>
>
> > > How can I find the team Index of a client in the VGUI_Scoreboard code?
> >
> > g_PlayerExtraInfo[player_num].teamnumber
> >
> > ---Reedbeta
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Buy the perfect holiday gifts at Yahoo! Shopping.
> >
http://shopping.yahoo.com
> > _______________________________________________
> > 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