|
Author
|
Message
|
|
Junior Member
Join Date: Aug 2006
Location: Germany
|

08-14-2009
, 09:33
Gun Sound Replacing (The SPecialists)
|
#1
|
Hi,
i tryed alot nw i have this code but for some reason this wont work please help me to make it work would be nice
Quote:
// Sound Replaceing
public fw_EmitSound1( id, channel, sample[] )
{
//if(g_c96[id] == true)
if (equal(sample, "weapons/glock/glock-fire.wav"))
{
emit_sound( id, CHAN_WEAPON,"rdrp/c96_shoot.wav", 1.0, ATTN_NORM, 0, PITCH_NORM )
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}
|
|
|
|
|