Garry's Mod Wiki

Revision Difference

Player:SetDSP#562506

<function name="SetDSP" parent="Player" type="classfunc"> <description> Applies the specified sound filter to the player.</description> <realm>Shared</realm> <args> <arg name="soundFilter" type="number">The index of the sound filter to apply. Pick from the [list of DSP's](https://developer.valvesoftware.com/wiki/Dsp_presets).</arg> Pick from the <page>DSP Presets</page>.</arg> <arg name="fastReset" type="boolean">If set to true the sound filter will be removed faster. <note>**This only works clientside**. If used serverside, a message will be displayed (`SetPlayerDSP: fastReset only valid from client`) in the server console.</note></arg> </args> </function>