Garry's Mod Wiki

GM:PlayerShouldTaunt

  boolean GM:PlayerShouldTaunt( Player ply, number act )

Description

Allows to suppress player taunts.

Arguments

1 Player ply
Player who tried to taunt
2 number act
Act ID of the taunt player tries to do, see ACT enum

Returns

1 boolean
Return false to disallow player taunting