Skip to main content

AudioShouldSilenceSound

Callable

  • AudioShouldSilenceSound(IsPlayerInvolved?: boolean): boolean

  • Is sound allowed to play.


    Parameters

    • IsPlayerInvolved: boolean = false

      Whether the player was involved in what caused the sound to play.

    Returns boolean

    True if the player has item sound enabled, and a non-muted volume, false otherwise.