End Round Sounds with Musical Genre v1.0.1
IntroductionFirst, I know there are at least two plugins related to end round sounds.The original https://forums.allie...read.php?t=6784And the Arkshine version https://forums.allie...ad.php?p=499872This plugin is different because the players can choose their own musical genre.Commands
- /roundsound – Enable / Disable the end round sounds. It also allow to change your musical genre.
#include < amxmodx >#include < amxmisc >#include < celltravtrie >
Defines PHP Code:#define MAX_GENRES 8#define MAX_LENGHT_SOUND 64#define MAX_LENGHT_GENRE 24#define MAX_PLAYERS 32static FILE_NAME[ ] = "ers_genre.ini"static DICTIONARY[ ] = "ers_genre.txt"
Some considerations- This plugin uses this include http://forums.allied...ead.php?t=74753- It allows .mp3 or .wav files- The menu is displayed when the round starts, only one time per map- It plays a random sound when the round ends, independently of the owner- Make sure that your compiler / amxx instalation is updated- The ers_genre.ini is something like this,


Wyświetl pełny artykuł