First of all,
This is my first plugin I ever made. Its completly from scratch.
I know that this is a very little bit of code and has only one purpose, but I didnt found a working plugin/a plugin which includes this. Thats why I made it. Its Tiny at the moment but I'm working on it. Take a look on what's comming in the future!
What is this?
So this is a little Plugin which allows (at the moment) to play the well known "Prepare to Fight!" Sound.
There was no other plugin before which could this for any game (even CSGO)
CVars
There is only one at the moment but more will follow.
Code:
// Path to the sound file to play (relative to the "sound" folder)
// -
// Default: "quake/prepare.mp3"
sm_roundstartsound "quake/prepare.mp3"
To compile
You will need
Emitsoundany to compile this.
What's comming in the future
Chat output/Center text output (configurable)
RoundFreezeEnd sound aka. "Play"
Usage of more than one sound
A timer delay for RoundStart
Take requests
Known Bugs
In Csgo, the sound will be played after 4-6 rounds.
Som Credits
Powerlord, for his include
Emitsoundany
Zipcore for helping