Quote:
Originally Posted by Nutu_
I've used emit_sound and spk as well and i dont know why the sound won't work on server
ps: it works on lan..
PHP Code:
new const freezer_sound[] = "basebuilder/freezer.wav"
PHP Code:
public plugin_precache() { precache_sound(freezer_sound) }
PHP Code:
emit_sound(id, CHAN_WEAPON, freezer_sound, VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
it only works if I'm shooting to a wall, and i have to be close to that wall.. and i also use at hook plugin
PHP Code:
client_cmd (0, "spk ^"%s^"", sound);
and it won't work at all
|
for client_cmd, is "sound/basebuilder/freezer.wav", all the weapons shoot sounds( in default ) works on CHAN_WEAPON, so, if u are changing it in pre, the sound will be emitted before the default
in pre:
freezersound > weaponsound
in post:
weaponsound > freezersound
idk how are u changing it or modify
u can try changing it with the forward of emit sound, or using other channel(to play both, weapon default sound and frieza sound)