View Single Post
Plugin Info:     Modification:          Category:         
Isobold
Veteran Member
Join Date: Mar 2004
Old 03-31-2004 , 03:08   Sound_files_upload (make clients load customsounds on connec
Reply With Quote #1

It's not my own plugin (this plugin was made by a certain Spacedude), I only took it from the amxmod-site, compiled it with the amx mod x compiler and tested it on our server. It works fine.

Just take the amx-file and put it into the plugins-directory, add a line for the plugin to the plugins.ini and it works. Then put a soundfiles.txt - file into the moddirectory (for example cstrike, dod and so on) and write the customsoundfiles into it, that players shall load on connect.


Example:

You installed Counter-Strike, you have to put the soundfiles.txt there:
c:\Programs\hlds\cstrike

Then you put your customsound into the soundfolder. If you are using sounds with a common name, that can be found only at your server, it might be a good idea to create a custom directory.

Example:

You want the sounds yeah.wav and yippiiee.wav to be loaded:
You put them into a directory named myserverstuff

There pathes are now:
c:\Programs\hlds\cstrike\sound\myserverstuff\ yeah.wav
c:\Programs\hlds\cstrike\sound\myserverstuff\ yippiiee.wav


Into the soundfile.txt you only write:
myserverstuff\yeah.wav
myserverstuff\yippiiee.wav



Ready!
Now connect to your server and the soundfiles should load (only if you dont already have them).
Attached Files
File Type: sma Get Plugin or Get Source (sound_files_upload.sma - 1772 views - 384 Bytes)
File Type: zip sound_files_upload.zip (988 Bytes, 805 views)
Isobold is offline