Uhh, nope. You might wanna read up some more on functions and stuff. Plus you didn't change anything..But add "misc/omg2"
Code:
#include <amxmodx>
#define PLUGIN "TFC Sounds"
#define VERSION "1.0"
#define AUTHOR "Formula Zero"
new yoursound
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("say","say_handle")
}
public plugin_precache()
{
yoursound = precache_sound("DIR_TO_SOUND/sound.wav")
}
public say_handle(id)
{
static command[33]
read_argv(1,command,32)
if(equali(command,"omg")) {
client_cmd(0,"spk dir_to_sound/mysound.wav")
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
Replace the "DIR_TO_SOUND" on both the "client_cmd" and "precache_sound"
Then it should work, I also think that if the user already has the sound there isn't no need to precache it, only to make it downloadable to the clients.