Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
cl_offhand_blaster.qc
Go to the documentation of this file.
1
#include "
cl_offhand_blaster.qh
"
2
3
REGISTER_MUTATOR
(cl_offhand_blaster,
true
);
4
5
MUTATOR_HOOKFUNCTION
(cl_offhand_blaster, BuildGameplayTipsString)
6
{
7
if
(mut_is_active(MUT_OFFHAND_BLASTER))
8
{
9
string
key =
getcommandkey
(_(
"offhand hook"
),
"+hook"
);
10
M_ARGV
(0,
string
) =
strcat
(
M_ARGV
(0,
string
),
11
"\n"
, sprintf(_(
"^3offhand blaster^8 is enabled, press ^3%s^8 to use it"
), key),
"\n"
);
12
}
13
}
REGISTER_MUTATOR
#define REGISTER_MUTATOR(...)
Definition
base.qh:295
MUTATOR_HOOKFUNCTION
#define MUTATOR_HOOKFUNCTION(...)
Definition
base.qh:335
cl_offhand_blaster.qh
getcommandkey
#define getcommandkey(cmd_name, command)
Definition
main.qh:137
M_ARGV
#define M_ARGV(x, type)
Definition
events.qh:17
strcat
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
common
mutators
mutator
offhand_blaster
cl_offhand_blaster.qc
Generated on
for Xonotic QuakeC by
1.14.0