Quote:
Originally Posted by Mikado
Edit: There is a bug with Round start sounds aren't played
|
Spoiler
PHP Code:
/**
* The round is started.
**/
void RoundStartOnRoundStart(/*void*/)
{
// Create timer for terminate round
EndTimer(Task_ZombieRound);
Task_ZombieRound = CreateTimer(GetConVarFloat(gRoundTimeZP) * 60.0, RoundEndTimer);
// Player round start sounds
SoundsTransmitToAll("ZOMBIE_ROUND_START_SOUNDS");
// Kill all objective entities
RoundStartOnKillEntity();
}
I know that this problem can exist, if you run the server, but at first server hibernate, and sourcemod didn't hook round start and when you connect you need to wait until restart, and on next round, hook will work and sounds is well
I had same problem with timer, and at first i didn't understand why timer do not start on first run of the server and after a create infinite timer which create on map start
Or might be you don't have fast download on your server and sound do not upload to clients, because i didnt have problems with sounds on my linux server on the hosting
May be sounds interact now with standart ones
Because here sounds worrking
https://www.youtube.com/watch?v=ooDggGVhIFg
May be after last update they bugged my mod again) We need to update Valve update, where they will allow server to ctop standart client sounds on round end and round start, because
playgamesound Music.StopAllMusic not work now
PHP Code:
- Version: 6.5 (Novermber 23, 2016)
* Fix with round start sounds
* Cvar system in the code have changes
* Fix with custom weapons like medkit , etc.
Edit: I fixed that, now start sounds will enable on 20sec before infection
And also fix problems with non-weapons, like medkit
__________________