Glitched Audio
I'm emitting sounds to players but they're either not being emitted or glitch the audio.
I have 4 sounds: #1, doesn't emit. PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Glitched Audio
1. Show g_iSounds values.
2. Most likely because you set the entity to think each 0.01 seconds and you are always emitting the sound, without ever letting it play. You need to sync the entity think to the sound duration. For example if sound duration is 1 second then the entity should think each 1.0 seconds to let the sound play. |
Re: Glitched Audio
Quote:
PHP Code:
|
Re: Glitched Audio
1. Make sure the sounds are suitable for the game.
2. Make sure the sounds are preached. 3. Make sure the sounds are in the correct path. 4. Make sure when you play the sound you dont spam playing. 5. Make sure you are using wav type sounds when playing with spk/speak. 6. Make sure your client volume is hearable. 7. Make sure your speakers are working :). 8. Make sure the length of the file path doesnt overcome the array size. Some tips. |
Re: Glitched Audio
Quote:
Quote:
3) Same as 2) 4) Might be 5) Yes I am, look at the sound extensions. 6) It is 7) They are |
Re: Glitched Audio
#3
@HamThinkPlayer_Pre( id ) Is this forward hooked? If it is, thats mean the landing sound has file error means its not suitable. |
Re: Glitched Audio
Why not use MP3 ?
|
Re: Glitched Audio
Quote:
|
Re: Glitched Audio
Quote:
|
Re: Glitched Audio
Quote:
|
| All times are GMT -4. The time now is 12:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.