The file should be in
levels/sounds/ folder or similar. Then in folder config just do
file sounds/*.wav (no "levels/" in front). Now let's say you named it as "kick.wav":
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat == "/playsound")
play("kick.wav");
}