In this plugin here:
http://forums.alliedmods.net/showthread.php?p=34730
There is this Precache Function:
PHP Code:
if (file_exists("sound/fireworks/rocket1.wav")) {
precache_sound("fireworks/rocket1.wav")
has_rocket = 1
} else {
precache_sound("weapons/rocket1.wav")
has_rocket = 0
}
if (file_exists("sound/fireworks/weapondrop1.wav")) {
precache_sound("fireworks/weapondrop1.wav")
has_drop = 1
} else {
precache_sound("items/weapondrop1.wav")
has_drop = 0
}
So, the sounds are the default files, but I can also use the new ones in the fireworks folder am I right?
Can I remove the special sound files? And how would the code look like then?