]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/util.qc
Move weapon complain messages to notif system
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / util.qc
index 390321c4e49fefb6971f236408979396f085d4a6..10b76ba95639657d39e8c9f338c45a6866a52200 100644 (file)
@@ -2707,3 +2707,10 @@ string process_time(string fields, float seconds)
        }*/
        return "";
 }
+
+#ifdef SVQC
+void dedicated_print(string input) // print(), but only print if the server is not local
+{
+       if(server_is_dedicated) { print(input); }
+}
+#endif