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
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 08-17-2010 , 13:08   Re: [HELP] Run time error 4: index out of bounds
Reply With Quote #3

However, if you want to keep it in .wav, you can use client_cmd(0, "spk file name")

@Excalibur.007
fvox/one.wav, and the others are the included countdown file names. Not that easy to convert, or it is just a pain since everyone already has the files anyways.

And his runtime is that emit_sound() has to go from a real players id (I might be mistaken). It is meant so that if you are close enough to them, you can hear it. Like switching to a knife, turning on nightvision, etc. If I am right though, the runtime error is occuring because 0 is not a player's id.

Last edited by RedRobster; 08-17-2010 at 13:12.
RedRobster 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