Jump to content

How to play a death sound?

Pending 1.1.4

Stampy
Stampy

Posted

im trying to create a plugin so that when a player dies they hear a death sound BUT i managed to get it to work but only for me for some reason it does not play for default, plz help lol

supreme

Posted

1 hour ago, Stampy said:

im trying to create a plugin so that when a player dies they hear a death sound BUT i managed to get it to work but only for me for some reason it does not play for default, plz help lol

iif you want it to play for everyone near the player death position you'll have to find the players close to it and add them to a list & pass that list to the sound library api hook call

Stampy

Posted

yeh erm so basically i got it to work but it only works for admins. so the plugin i made does work but not for normal players when they die everyone around them hears it including normal players but when they die they dont hear it but when i die i hear it its strange

Stampy

Posted

also im still experiencing the issue where the sound cuts out after like 10 seconds and then you can no longer hear any sounds played until you reload the plugin if you would like i can add you on discord and we can try and fix it 

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.