Garry's Mod Wiki

Player:SetDSP

  Player:SetDSP( number soundFilter, boolean fastReset )

Description

Applies the specified sound filter to the player.

Arguments

1 number soundFilter
The index of the sound filter to apply. Pick from the list of DSP's.
2 boolean fastReset
If set to true the sound filter will be removed faster.
This only works clientside. If used serverside, a message will be displayed (SetPlayerDSP: fastReset only valid from client) in the server console.