For some reason my games telling me it cant precache the sounds
There on the server and fast dl they download to the client but they dont play...
PHP Code:
new const g_medic_calls[][] =
{
"xtrememedic/medic_call1.wav",
"xtrememedic/medic_call2.wav",
"xtrememedic/medic_call3.wav",
"xtrememedic/medic_call4.wav"
};
new const g_medic_done[] = "xtrememedic/medic_done.wav";
new const g_medic_heal[] = "xtrememedic/medic_healing.wav";
public plugin_precache()
{
for(new i = 0; i < sizeof(g_medic_calls); i++)
{
precache_sound(g_medic_calls[i]);
}
precache_sound(g_medic_done);
precache_sound(g_medic_heal);
}
emit_sound(id, CHAN_ITEM, g_medic_heal, 1.0, ATTN_NORM, 0, PITCH_NORM);
emit_sound(id, CHAN_ITEM, g_medic_calls[random(sizeof(g_medic_calls))], 1.0, ATTN_NORM, 0, PITCH_NORM);
emit_sound(id, CHAN_ITEM, g_medic_done, 1.0, ATTN_NORM, 0, PITCH_NORM);
There ya go... how they are delcared, precached, and used
I dont see a damn thing wrong with them.
EDIT : No idea wtf was going on... but fixed now