Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

End Round Sounds with Musical Genre v1.0.1


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 11.01.2013 23:53

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.
CVARS Code: ers_ads 1 // Turn on/off the commands announcements in the chaters_time_between_ads 300 // Time between adds (in seconds)ers_colored_messages 1 // Turn on/off the colored messages Requirements PHP Code:

#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,Dołączona grafikaAnd the result is,Dołączona grafikaInstalation1. Download the .zip attached2. Compile locally http://forums.allied...ad.php?t=1305113. Install the plugin normally4. Copy the cvars to your server.cfg and customize at your own way5. Configure the ers_genre.ini6. Change map or restart your server Bugs- None (yet)Changelog Code: v1.0.1 (12/01/2013) - Useless code removed from plugin_precachev1.0.0 (11/01/2013) - Initial releaseCredits- PaintLancer and Arkshine for the previous versions

Attached Files Dołączona grafika ERS_Musical_Genre_v1_0_1.zip (6.3 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych