Got all that thanks. Anyone get the music working. I get this error from the game console.
******* script runtime error *******
cannot cast undefined to bool: (file 'b3/_b3_music.gsc', line 55)
if(level.mapended)
*
Error: called from:
(file 'b3/_b3_music.gsc', line 44)
thread onIntermission();
*
Error: started from:
(file 'b3/_b3_music.gsc', line 38)
wait .1;
*
Error: ************************************
********************
ERROR: script runtime error
(see console for details)
cannot cast undefined to bool
********************
----- Server Shutdown -----
==== ShutdownGame (1) ====
---------------------------
Anyone knwo what the probelm is. And lines this is the part with lines 38, 44
StartThreads()
{
(line 38) wait .1;
if (level.b3_music == 0)
return;
level endon("trm_killthreads");
(line 44) thread onIntermission();
thread onPlayerConnect();
}