1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

How to make a dead user hear a sound?

Discussion in 'Discussion' started by flots, Mar 4, 2013.

  1. How can I make a dead combine player hear a sound while they are dead? (I was thinking the citadel sound)
     
  2. Using the death hook.

    player:ConCommand("play", "sound here")

    It might be that or it might be just 1 set of quotes. Not sure, I'm at school.
     
  3. Devul

    Devul Oh Hai

    Close..

    But you could just do player:EmitSound("soundname") so others can hear it too.
     
  4. connall

    connall Guest

    From the sound o the OP he doesn't want others to hear it, only the dead the player, so Duck would be right.
     
  5. Devul

    Devul Oh Hai

    Aye, didn't read properly. Isn't it player:ConCommand("example command") with 1 set of speech-marks?
     
  6. connall

    connall Guest

    I'm not sure. Never really used player:ConCommand let me go check the wiki.

    Edit: Apparently so.

    http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8d04.html
     

Previous Readers (Total: 0)