public override void Draw() { DrawRectangle(0.025f, 0.878f, 0.12f, 0.093f, 122, 127, 140, 255);; DrawHealth(); ShowNames(); TeamText.Draw(); DrawTeam(); DrawGoal(); DrawRectangle(0.098f, 0.87824f, 0.007f, 0.025f, 68, 74, 96, 255); if (isRadarActive) { ShowRadar(); } ShowTalking(); if (lastLooked + 300 > GetGameTimer()) { HUDText.Draw(); } base.Draw(); }
public override void Draw() { if (DetectiveTracing > -1) { ShowDNA(); } if (isRadarActive) { ShowRadar(); } if (ActiveTTT.Team == (int)TTT.Teams.Traitors) { DrawRectangle(0.025f, 0.86f, 0.07f, 0.03f, 200, 0, 0, 200); } if (ActiveTTT.Team == (int)TTT.Teams.Detectives) { DrawRectangle(0.025f, 0.86f, 0.07f, 0.03f, 0, 0, 200, 200); } if (ActiveTTT.Team == (int)TTT.Teams.Innocents) { DrawRectangle(0.025f, 0.86f, 0.07f, 0.03f, 0, 200, 0, 200); } TeamText.Draw(); DrawHealth(); DrawWeaponSwitch(); ShowNames(); HideReticle(); if (lastLooked + 300 > GetGameTimer()) { HUDText.Draw(); } if (ActiveTTT.Team == (int)TTT.Teams.Traitors) { ShowTraitors(); } if (ActiveTTT.isDisguised) { DisguisedText.Draw(); } base.Draw(); }