Raised This Month: $32 Target: $400
 8% 

[CSGO] Audio being cut off at start of new round


Post New Thread Reply   
 
Thread Tools Display Modes
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 08-03-2016 , 06:33   Re: [CSGO] Audio being cut off at start of new round
Reply With Quote #11

Quote:
Originally Posted by General Lentils View Post
BUT: this might work:

PHP Code:
OnPluginStart()
{
    
ServerCommand("sm_cvar mp_round_restart_delay 0.11");

This will start the new round in less than a second. Can't we keep it to 5?
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 08-27-2016 , 10:58   Re: [CSGO] Audio being cut off at start of new round
Reply With Quote #12

Bump
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 08-27-2016 , 11:14   Re: [CSGO] Audio being cut off at start of new round
Reply With Quote #13

Quote:
Originally Posted by bLacK-bLooD View Post
This will start the new round in less than a second. Can't we keep it to 5?
keep it to 5 ??

also no need to have a plugin to fire "mp_" commands like this simply use server.cfg

add the line:

Quote:
mp_round_restart_delay 5
extend the time to whatever you like.
__________________
xines is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 08-27-2016 , 11:18   Re: [CSGO] Audio being cut off at start of new round
Reply With Quote #14

Quote:
Originally Posted by xines View Post
keep it to 5 ??

also no need to have a plugin to fire "mp_" commands like this simply use server.cfg

add the line:



extend the time to whatever you like.
Hi. The actual question is in the title and my question is on the first page of the thread:

Quote:
Originally Posted by bLacK-bLooD View Post
I'm sorry, I believe I mislead you. We need the plugin like this:

At the end of each round, it plays a sound and it continues at round start until the song is over. Right now, it plays at the end of the round but when the round starts, it stops, even if the sound is only halfway through.

Concrete example:
- mysong.mp3 (10 seconds long)
- Round ends, song plays for 5 seconds, round starts, the song stops immediatly, instead of playing the remaining 5 seconds.
I would like to have a 10 seconds song at the end of the round and have the mp_round_restart_delay at 5, but the song to continue playing the rest of the 5 seconds after the round start.
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode