From bbe3dd67d0bf140b70b3707b00cbc9b2ecef9610 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 26 Feb 2013 18:29:31 -0500 Subject: [PATCH] Now use it in arena :D --- qcsrc/common/notifications.qh | 1 + qcsrc/server/arena.qc | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index 6502e6253..83f3bc1fd 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -56,6 +56,7 @@ void Read_Notification(float is_new); #define IFSTR(num) ((num < notif.nent_stringcount) ? ...(num, string) : "") #define IFFL(num) ((((notif.nent_stringcount-1) + num) < count) ? ...(((notif.nent_stringcount-1) + num), float) : 0) +void Kill_Notification(float broadcast, entity client, float net_type, float net_name); void Send_Notification(float broadcast, entity client, float net_type, float net_name, ...count); void Send_Notification_WOVA(float broadcast, entity client, float net_type, float net_name, string s1, string s2, string s3, string s4, float f1, float f2, float f3, float f4); void Send_CSQC_Centerprint_Generic(entity e, float id, string s, float duration, float countdown_num); diff --git a/qcsrc/server/arena.qc b/qcsrc/server/arena.qc index 8d9d8a0f8..fc5756e4d 100644 --- a/qcsrc/server/arena.qc +++ b/qcsrc/server/arena.qc @@ -199,10 +199,7 @@ void Arena_Warmup() { if(warmup && time < warmup) { - FOR_EACH_REALCLIENT(e) - Send_CSQC_Centerprint_Generic_Expire(e, CPID_ARENA); - - //Kill_Notification(MSG_CENTER, CPID_ARENA); + Kill_Notification(NOTIF_ANY, world, MSG_CENTER, CENTER_ARENA_BEGIN); warmup = 0; } if(champion && g_arena) -- 2.39.2