]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mutators/mutator/hook/cl_hook.qc
4c8b2621a44b05da3a8c502448464054e5d5547a
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / hook / cl_hook.qc
1 #include "cl_hook.qh"
2
3 #ifdef CSQC
4 REGISTER_MUTATOR(cl_hook, true);
5
6 MUTATOR_HOOKFUNCTION(cl_hook, BuildGameplayTipsString)
7 {
8         string key = getcommandkey(_("off-hand hook"), "+hook");
9         M_ARGV(0, string) = strcat(M_ARGV(0, string),
10                 "\n\n", sprintf(_("^3grappling hook^8 is enabled, press ^3%s^8 to use it"), key), "\n");
11 }
12
13 #endif