spawn unit on the server and call it bob.
execute
playSound3D ["A3\missions_f\data\sounds\click.wss", bob];
on the server then repeat it on client
move further away and repeat.
once you notice the difference in sound fading, limit distance to 10 metres:
playSound3D ["A3\missions_f\data\sounds\click.wss", bob, false, getPos bob, 1, 1, 10]
makes no difference when executed on the server.