tf2 ayou forget how to RGBA

This commit is contained in:
LightCat 2019-02-24 16:16:27 +01:00
parent a193587ae3
commit 568ae5ad4d

View File

@ -117,10 +117,10 @@ void Paint()
rgba_t color = colors::white;
// tint LOCAL_E name slightly
if (i == g_IEngine->GetLocalPlayer())
color.b += 100.0f;
color.b += 0.5f;
// tint CAT status people's names too
if (playerlist::AccessData(ent->player_info.friendsID).state == playerlist::k_EState::CAT)
color.g = 200.0f;
color.g = 0.8f;
// Calculate Player Level
int death_score = g_pPlayerResource->GetDeaths(i) * 7;