papam77 Posted April 27, 2013 Posted April 27, 2013 Hello, how can do when player dead will play any sound ?
PaiN^ Posted April 27, 2013 Posted April 27, 2013 Use : 'onClientPlayerWasted' -- Event playSound -- function
Tete omar Posted April 27, 2013 Posted April 27, 2013 example: addEventHandler("onClientPlayerWasted", localPlayer, function() playSound("sound.mp3") end )
papam77 Posted April 27, 2013 Author Posted April 27, 2013 Meta: path: /s1.hrajminecraft.cz_22003/mods/deathmatch/resources/[eag]/main_eag/sound script: addEventHandler("onClientPlayerWasted", localPlayer, function() playSound("sound.mp3") end ) And doesn't work
Tete omar Posted April 27, 2013 Posted April 27, 2013 Make sure that file name is sound.mp3, and make sure that the lua file path is the right path in meta.xml
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now