this.mdl = "";
- if ( !IS_DEAD(this.owner) && IS_PLAYER(this.owner) )
+ if ( !IS_DEAD(this.owner) && IS_PLAYER(this.owner) && !MUTATOR_CALLHOOK(ShowChatBubble, this.owner, this) )
{
if ( CS(this.owner).active_minigame && PHYS_INPUT_BUTTON_MINIGAME(this.owner) )
this.mdl = "models/sprites/minigame_busy.iqm";
/** player */ i(entity, MUTATOR_ARGV_0_entity) \
/**/
MUTATOR_HOOKABLE(Sandbox_EditAllowed, EV_Sandbox_EditAllowed);
+
+/** Return true to hide the chat bubble above typing players */
+#define EV_ShowChatBubble(i, o) \
+ /** player */ i(entity, MUTATOR_ARGV_0_entity) \
+ /** bubble */ i(entity, MUTATOR_ARGV_1_entity) \
+ /**/
+MUTATOR_HOOKABLE(ShowChatBubble, EV_ShowChatBubble);