I just used DeathMsg cause it works better
I have another question, how do I make this play 4 random sound instead of just 1?
PHP Code:
engfunc(EngFunc_EmitSound, id, channel, "test/test1.wav", 1.0, attenuation, flags, pitch);
I tried doing this
PHP Code:
engfunc(EngFunc_EmitSound, id, channel, die_spk[random_num(0, sizeof die_spk - 1)], 1.0, 0.92, flags, pitch);
But it's not working, it's only playing 1 sound