#ifndef CLIENT_MUTATORS_EVENTS_H
#define CLIENT_MUTATORS_EVENTS_H
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
// globals
string checkmodel_input, checkmodel_command;
MUTATOR_HOOKABLE(GetModelParams, EV_GetModelParams);
-/** called when a player presses the jump key */
-#define EV_PlayerJump(i, o) \
- /**/ i(float, player_multijump) \
- /**/ i(float, player_jumpheight) \
- /**/ o(float, player_multijump) \
- /**/ o(float, player_jumpheight) \
- /**/
-float player_multijump;
-float player_jumpheight;
-MUTATOR_HOOKABLE(PlayerJump, EV_PlayerJump);
-
/** Called checking if 3rd person mode should be forced on */
#define EV_WantEventchase(i, o) \
/** entity id */ i(entity, __self) \
entity w_hitwep;
MUTATOR_HOOKABLE(Weapon_ImpactEffect, EV_Weapon_ImpactEffect);
+/* NOTE: hooks MUST start with if (MUTATOR_RETURNVALUE) return false;
+*/
+#define EV_HUD_Command(i, o) \
+ /** also, argv() can be used */ i(int, cmd_argc) \
+ /**/
+MUTATOR_HOOKABLE(HUD_Command, EV_HUD_Command);
+
#endif