This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

emit_sound with volume 1.6 gives fatal error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-25-2013 , 06:12   emit_sound with volume 1.6 gives fatal error
Reply With Quote #1

If I set volume to 1.6 it gives Fatal error - SV_StartSound: volume = 408 on play
if I set it back to 1.0 all plays fine,
so how can I make sound play louder and not get the error?

PHP Code:
emit_soundiVictimCHAN_STATIC"mah_sound.wav"1.6ATTN_NORM0PITCH_NORM ); 
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 02-25-2013 , 07:47   Re: emit_sound with volume 1.6 gives fatal error
Reply With Quote #2

Not sure you can. You may have to amplify the sound with an audio editing program.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 02-25-2013 , 11:09   Re: emit_sound with volume 1.6 gives fatal error
Reply With Quote #3

So why there is a "volume" parameter in emit_sound function then?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-25-2013 , 12:00   Re: emit_sound with volume 1.6 gives fatal error
Reply With Quote #4

You can't go above 1.0, but you can go below 1.0.

If you want to make the sound lounder consider the use of an audio software which would make the thing better.
__________________
Arkshine is offline
Old 02-26-2013, 03:03
EDUTz
This message has been deleted by EDUTz. Reason: wrong answer
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode