Raised This Month: $ Target: $400
 0% 

sound.res? sound management


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-02-2006 , 00:06   Re: sound.res? sound management
Reply With Quote #5

SweatyBanana already explained to you how .res files work. You can't do what you want with them, unless you make a .res file for every single map on your server that includes those sounds, which would be inefficient. This is how you would do it with a plugin:

Code:
 #include <amxmodx>  public plugin_init()  {     register_plugin("Precache","0.00","---");  }  public plugin_precache()  {     precache_sound("misc/multikill.wav");     precache_sound("misc/ultrakill.wav");     precache_sound("misc/killingspree.wav");     precache_sound("misc/monsterkill.wav");     precache_sound("misc/godlike.wav");     precache_sound("misc/scatman.wav");  }

I believe SweatyBanana was trying to only give you a hint, so that you would do it on your own (which is a good teaching method), but I get the impression that you aren't a scripter, and that this should in fact be in another forum.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 04:46.


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