HolyLib Wiki

IsProximityHearingClient

  boolean voicechat.IsProximityHearingClient( Player ply, Player targetPly )

Description

Returns whether the given client can hear the target client in it's proximity.

Arguments

1Player ply
The Player to send the Voice Data to.
2Player targetPly
The target player to check.

Returns

1boolean canHear
Returns true if the player can hear the target player in it's proximity