PlaySoundToPlayer( <aliasname>, <player> )

Module: Sound
MP Only


Play the sound alias as if coming from the entity, so that only one player can hear it

Call this on:

<entity> An entity


self PlaySoundToPlayer( "frag_out", self );

Required Args:

  • 1 : <aliasname> The sound alias to play
  • 2 : <player> The player that will be able to hear the sound.