float roundstarttime = STAT(ROUNDSTARTTIME);
if(roundstarttime > startTime)
startTime = roundstarttime;
+ if(intermission)
+ {
+ if(announcer_countdown)
+ {
+ centerprint_kill(CPID_ROUND);
+ if(announcer_countdown)
+ {
+ remove(announcer_countdown);
+ announcer_countdown = NULL;
+ }
+ }
+ return;
+ }
if(previous_game_starttime != startTime)
{
centerprint_countdown_num[j] = countdown_num;
}
+void centerprint_kill(float id)
+{
+ centerprint_generic(id, "", 0, 0);
+}
+
void centerprint_hud(string strMessage)
{
centerprint_generic(0, strMessage, autocvar_hud_panel_centerprint_time, 0);
vector camera_direction;
void centerprint_hud(string strMessage);
+void centerprint_kill(float id);
void centerprint_generic(float new_id, string strMessage, float duration, float countdown_num);
const float ALPHA_MIN_VISIBLE = 0.003;