.res files are called when the mapname equals the .res name..
When the map is changed to de_dust2, if de_dust2.res exists, it will make all clients that connect to the server as long as it is dust2 download all files within de_dust2.res
If you want it for every map,
PHP Code:
plugin_precache()
{
precache_sound(const sound)
}