--
[ Picked text/plain from multipart/alternative ]
I am using:

  m_pPlayerList->SetSectionFgColor(sectionID, g_PR->GetTeamColor(i));
  at the bottom of UpdateTeamInfo.
  This is what I am using in UpdatePlayerInfo:

  // set the row color based on the players team
  m_pPlayerList->SetItemFgColor( itemID, g_PR->GetTeamColor( g_PR->GetTeam( i ) 
) );
  In c_playerresource.cpp I am using:

  #ifndef HL2MP
  m_Colors[TEAM_BRITAIN] = COLOR_BLUE;
  m_Colors[TEAM_FRANCE] = COLOR_RED;
  m_Colors[TEAM_GERMANY] = COLOR_YELLOW;
  m_Colors[TEAM_SPECTATOR] = COLOR_WHITE;
  #endif

  and the colors are defined in shareddefs.h

  Baer

  From: "Ben Everett" <[EMAIL PROTECTED]>
To: <[email protected]>
Subject: RE: [hlcoders] Team colors are screwey
Date: Thu, 28 Jun 2007 20:25:46 -0500
Reply-To: [email protected]

What are you using to obtain team colors?



---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
--

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

Reply via email to