3 #include <common/mutators/base.qh>
4 #include <common/scores.qh>
6 // 1 when player presses F3 to spectate for the first time (he only gets a warning)
7 // 2 when player goes spectator (presses F3 to spectate for the second time)
8 // 3 when player disconnects
9 .int lms_spectate_warning;
12 #define autocvar_g_lms_lives_override cvar("g_lms_lives_override")
13 string autocvar_g_lms_weaponarena = "most_available";
15 void lms_Initialize();
17 REGISTER_MUTATOR(lms, false)
22 GameRules_limit_score(((!autocvar_g_lms_lives_override) ? -1 : autocvar_g_lms_lives_override));
23 GameRules_limit_lead(0);
24 GameRules_score_enabled(false);
25 GameRules_scoring(0, 0, 0, {
26 field(SP_LMS_LIVES, "lives", SFL_SORT_PRIO_SECONDARY);
27 field(SP_LMS_RANK, "rank", SFL_LOWER_IS_BETTER | SFL_RANK | SFL_SORT_PRIO_PRIMARY | SFL_ALLOW_HIDE);
37 int LMS_NewPlayerLives();