English Request: Sound when someone dies

3 replies
Goto Page
To the start Previous 1 Next To the start
Up
BoxRam
User
Offline Off
I would like to request a script that plays a sound when somebody die's and i appreciate all helps.
IMG:http://steamsignature.com/status/english/76561198109787434.png
IMG:http://steamsignature.com/AddFriend.png

Admin/mod comment:

Please choose a less generic title next time (fixed it for you) and use the scripting section for script related stuff. /DC
28.12.13 12:04:16 am
Up
Yates
Reviewer
Offline Off
On die sv_sound why is this so hard?
28.12.13 12:09:09 am
Up
Gajos
BANNED
Offline Off
Code:
1
2
3
4
addhook('die','ondie')
function ondie(id)
   parse('sv_sound2 '..id..' mysound.wav') -- the sound patch always is sfx then its looks like sfx/mysound.wav
end
Banned for Hacking/Cheating in CS2D /DC
28.12.13 12:34:15 am
Up
BoxRam
User
Offline Off
Thx Gajos and Yates im not a lua scripter or i dont know anythink about it

btw reqiest? the title isnt request
IMG:http://steamsignature.com/status/english/76561198109787434.png
IMG:http://steamsignature.com/AddFriend.png

Admin/mod comment:

Sorry, typo. /DC
To the start Previous 1 Next To the start