#include "round_handler.qh"
#include <common/mapobjects/triggers.qh>
+#include <common/scores.qh>
#include <common/util.qh>
#include <server/campaign.qh>
#include <server/command/vote.qh>
+#include <server/scores.qh>
#include <server/world.qh>
void round_handler_Think(entity this)
int f = this.cnt - 1;
if (f == 0)
{
+ FOREACH_CLIENT((IS_PLAYER(it) || INGAME(it)), {
+ GameRules_scoring_add(it, ROUNDS_PL, 1);
+ });
this.cnt = 0;
this.round_endtime = (this.round_timelimit) ? time + this.round_timelimit : 0;
this.nextthink = time;
this.wait = false;
round_handler_Init(5, 5, 180);
this.nextthink = time;
+
+ ScoreInfo_SetLabel_PlayerScore(SP_ROUNDS_PL, "rounds_pl", 0);
}
void round_handler_Reset(float next_think)