#include "cl_cts.qh" REGISTER_MUTATOR(cl_cts, true); MUTATOR_HOOKFUNCTION(cl_cts, HUD_Physics_showoptional) { return ISGAMETYPE(CTS); // show the optional physics panel } MUTATOR_HOOKFUNCTION(cl_cts, HUD_Score_show) { return spectatee_status == -1 && ISGAMETYPE(CTS); // hide the score panel while observing } MUTATOR_HOOKFUNCTION(cl_cts, DrawDeathScoreboard) { return ISGAMETYPE(CTS); // no scoreboard shown while dead } MUTATOR_HOOKFUNCTION(cl_cts, ShowRankings) { if(ISGAMETYPE(CTS)) { M_ARGV(0, string) = _("Rankings"); return true; } }