How can i emit sound for walking ?
Code like this , I only need to change it for walkin sounds.
PHP Code:
else if (sample[1] == 'l' && sample[2] == 'a' && sample[3] == 'y' && ( (containi(sample, "bhit") != -1) || (containi(sample, "pain") != -1) || (containi(sample, "shot") != -1)))
{
emit_sound(id, CHAN_VOICE, g_hunter_pain[random(sizeof g_hunter_pain)], volume, attn, flag, pitch)
return FMRES_SUPERCEDE
}