return spectatee_status == -1 && ISGAMETYPE(CTS); // hide the score panel while observing
}
+MUTATOR_HOOKFUNCTION(cl_cts, DrawScoreboardItemStats)
+{
+ return ISGAMETYPE(CTS); // hide the item stats panel
+}
+
MUTATOR_HOOKFUNCTION(cl_cts, DrawDeathScoreboard)
{
return ISGAMETYPE(CTS); // no scoreboard shown while dead
// generated file; do not modify
#include <common/gamemodes/gamemode/invasion/invasion.qc>
+#ifdef CSQC
+ #include <common/gamemodes/gamemode/invasion/cl_invasion.qc>
+#endif
#ifdef SVQC
#include <common/gamemodes/gamemode/invasion/sv_invasion.qc>
#endif
// generated file; do not modify
#include <common/gamemodes/gamemode/invasion/invasion.qh>
+#ifdef CSQC
+ #include <common/gamemodes/gamemode/invasion/cl_invasion.qh>
+#endif
#ifdef SVQC
#include <common/gamemodes/gamemode/invasion/sv_invasion.qh>
#endif
--- /dev/null
+#include "cl_invasion.qh"
+
+#include <common/mutators/base.qh>
+
+REGISTER_MUTATOR(cl_inv, true);
+
+MUTATOR_HOOKFUNCTION(cl_inv, DrawScoreboardItemStats)
+{
+ return ISGAMETYPE(INVASION); // hide the item stats panel
+}
--- /dev/null
+#pragma once
{
return ISGAMETYPE(NEXBALL); // accuracy is not a factor in this gamemode
}
+
+MUTATOR_HOOKFUNCTION(cl_nb, DrawScoreboardItemStats)
+{
+ return ISGAMETYPE(NEXBALL); // hide the item stats panel
+}
return spectatee_status == -1 && ISGAMETYPE(RACE); // hide the score panel while observing
}
+MUTATOR_HOOKFUNCTION(cl_race, DrawScoreboardItemStats)
+{
+ return ISGAMETYPE(RACE); // hide the item stats panel
+}
+
MUTATOR_HOOKFUNCTION(cl_race, ShowRankings)
{
if(ISGAMETYPE(RACE))