Garry's Mod Wiki

Revision Difference

GM:PlayerShouldTaunt#517767

<function name="PlayerShouldTaunt" parent="GM" type="hook"> <ishook>yes</ishook> <description>Allows to suppress player taunts.</description> <realm>Server</realm> <args> <arg name="ply" type="Player">Player who tried to taunt</arg> <arg name="act" type="number">Act ID of the taunt player tries to do, see &lt;page&gt;ACT&lt;/page&gt;</arg>⤶ <arg name="act" type="number">Act ID of the taunt player tries to do, see <page>ACT</page></arg>⤶ </args> <rets> <ret name="" type="boolean">Return false to disallow player taunting</ret> </rets> </function>