Garry's Mod Wiki

CRecipientFilter:AddPAS

  CRecipientFilter:AddPAS( Vector pos )

Description

Adds all players that are in the same PAS (Potentially Audible Set) as this position.

Arguments

1 Vector pos
A position that players may be able to hear, usually the position of an entity the sound is playing played from.