Raised This Month: $ Target: $400
 0% 

[HELP] Run time error 4: index out of bounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 08-17-2010 , 10:34   Re: [HELP] Run time error 4: index out of bounds
Reply With Quote #2

Since you are playing it to everybody, I would use
PHP Code:
client_cmd(0"mp3 sound file"
. If you have a WAV file, you can convert it into MP3 format file. This is a converter, Convert WAV to MP3

Good thing is MP3 is smaller than WAV with very little quality changes.

EDIT: Btw if you have a CVar remember to use return PLUGIN_HANDLED instead of return to prevent run time error 4.

Last edited by Excalibur.007; 08-17-2010 at 10:37.
Excalibur.007 is offline
 



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 22:00.


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