3 #include <common/mutators/base.qh>
5 REGISTER_MUTATOR(cl_lms, true);
7 MUTATOR_HOOKFUNCTION(cl_lms, DrawInfoMessages)
9 if(!warmup_stage && ISGAMETYPE(LMS))
11 entity sk = playerslots[player_localnum];
12 vector pos = M_ARGV(0, vector);
13 vector mySize = M_ARGV(1, vector);
14 vector fontsize = '0.2 0.2 0' * mySize.y;
15 int img_curr_group = M_ARGV(2, int);
16 if(sk.(scores(ps_primary)) >= 666)
18 InfoMessage(_("^1Match has already begun"));
19 M_ARGV(0, vector) = pos;
20 M_ARGV(2, int) = img_curr_group;
23 else if(sk.(scores(ps_primary)) > 0)
25 InfoMessage(_("^1You have no more lives left"));
26 M_ARGV(0, vector) = pos;
27 M_ARGV(2, int) = img_curr_group;