View Single Post
meng
Veteran Member
Join Date: Oct 2005
Location: us
Old 01-26-2010 , 17:33   Re: End Of Map Music/sound
Reply With Quote #79

Quote:
Originally Posted by shustas View Post
timelimit doesnt alow u to spawn again. The last round u play thats it, after round ends, u get scoreboard and thats the chattime. This is how in CS:S by the way. Maybe you play something else, but yes it keeps playing and doesnt cut off for me
Indeed! Thank you sir. When using mp_maxrounds you respawn before the score comes up. Thats when the sound gets cut off.

Here, I rewrote the script to be compatible with either timelimit or maxrounds. Note the sound isn't played until the following spawn if the map is changing due to maxrounds.

There is no sound cvar for this script, it will choose randomly from any files found in the "sound/mapend" directory.
Attached Files
File Type: sp Get Plugin or Get Source (end_sound.sp - 730 views - 2.6 KB)
__________________
.
[ 1 Dumerils Boa | 1 Cali King ]...
.
I'm a lil' spirituous.

Last edited by meng; 01-26-2010 at 19:32.
meng is offline
Send a message via Yahoo to meng