Hi,
I am asking a simple tip how to make a sound just for the client.
I have noticed that there are two fuctions EV_GENERAL_SOUND and EV_GLOBAL_CLIENT_SOUND. If I have understood correctly, EV_GLOBAL_CLIENT_SOUND should play a sound for the client only (and not announce it also for other players like GENERAL_SOUND does).
However,
G_AddEvent( attacker, EV_GLOBAL_CLIENT_SOUND, G_SoundIndex( "sound/menu/referee.wav" )); does not work out, but if I replace EV_GLOBAL_etc with EV_GENERAL_SOUND it will play this referee whistle. Do I need to give some other variables for EV_GLOBAL_CLIENT_SOUND?
EV_GLOBAL_CLIENT_SOUND
Moderators: Forum moderators, developers