Est PlayPlayer

From EventScripts Community Encyclopedia
Syntax: est_PlayPlayer <identifier> <sound> [volume] [playtoplayers]
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Play a sound as if it was coming from the specified player

Parameters

  • identifier - See Est_PlayerSelection for player selection help
  • sound - Location to the sound file from your sound directory
  • volume - Controls the volume of sound. Default value = 1
  • playtoplayers

Example


event player_spawn
{
  // Play prepare.mp3 when the player spawns
  es est_PlayPlayer event_var(userid) quake/prepare.mp3
}

Notes

  • None

See Also

  • None
blog comments powered by Disqus