The weird part, it's the error.
1
ERROR: cannot play sound "sfx/gameover.mp31" - file does not exist (sv_sound)
And I didn't put "gameover.mp31", I did put "gameover.mp3"
Code:
1
2
3
4
2
3
4
addhook("join", "gameover") function gameover(soundfile) parse("sv_sound gameover.mp3"..soundfile) end
If someone could help me fixing my code would be great (:
Thanks for reading!