Round start sound for CS:GO
When the round starts, play an mp3 clip.
(The other plugins I found for this are currently not working.) I was hoping someone has something? I found this code too but I'm not sure if it's correct: //////////////////////////////// #include <sourcemod> #include <sdktools> #pragma semicolon 1 public OnPluginStart() { HookEvent("round_poststart", Event_Round_PostStart); if (GameRules_GetProp("m_bWarmupPeriod")) return Plugin_Continue; } public OnMapStart() { PrecacheSound("quake/prepare.mp3"); AddFileToDownloadsTable("sound/quake/prepare.mp3"); } public Action Event_Round_PostStart(Handle:event, const String:name[], bool:dontBroadcast) { EmitSoundToAll("quake/prepare.mp3"); } ///////////////////// pls help guys, thanks! |
Re: Round start sound for CS:GO
maybe in this way?
PHP Code:
|
Re: Round start sound for CS:GO
Quote:
|
All times are GMT -4. The time now is 17:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.