Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

[forums.alliedmods.net] [Server_Sounds] Admin Sounds


  • 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:7174
  • Lokalizacja:AMXX.PL
Offline

Napisano 23.03.2012 23:28

Hi, I'm a recent member but i'm trying to get famous :).

The Plugin I'm putting On-line is Admin_sounds a veru good Plugin hope you like it.!:bacon!::bacon!:

I LOVE:bacon!: xD

Admin Sounds (new version)

Current Version: 1.2.2


Description:
This plugin continue the dalto's plugin of the same name.
It uses a new scheme of sound list file. Look at the sample file soundslist.cfg in addons/sourcemod/configs/ directory.
No sounds are provided with this plugin at this time.
The menu is added in the topmenu

/! This plugin doesn't work on L4D and L4D2 game!!!


Commands:
Admin Commands:
sm_admin_sounds_menu : Display a menu to select sound to play

sm_admin_sounds_stop : Stop the playing sound for everyone
sm_admin_sounds_list : Display a list of categories and sounds
User Commands:
!stop : When used in chat will per-user stop any sound currently playing by this plug-in
!stopall : When used in chat will per-user enable/disable hearing of any sound

Required Plugin:
For the stopall option, the clientpref plugin is required.
If this plugin isn't loaded, this option is disabled even if the sm_admin_sounds_stopall cvar is on


Planned Features:
None, make a request!

CVar's:
// The version number
sm_admin_sounds_version

// Default time in seconds after playing a sound that another one can be played.
// Default: "60"
// Minimum: "0.000000"
sm_admin_sounds_delay "60"

// Enable the display of message to client when a sound is played. Default: on
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_admin_sounds_display "1"

// Admin flag for delay time immunity (see admin_level.cfg). Leave blank for no immunity.
// Default: "z"
sm_admin_sounds_immunity "z"

// Enable the possibility to reprint the menu after each sound.
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_admin_sounds_menureprint "0"

// How long the menu still show.
// Default: "20"
// Minimum: "5.000000"
// Maximum: "60.000000"
sm_admin_sounds_menutime "20"

// Enable the possibility to stop currently played sound.
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_admin_sounds_stop "1"

// Enable the possibility to stop all sounds.
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_admin_sounds_stopall "1"

// Default volume of played sounds : 0.0 <= x <= 1.0.
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_admin_sounds_volume "1.0"

(new in 1.2.2)
// Admin flag to be allow to stop played sound (see admin_level.cfg). If blank no stop possibility for admin.
// Default: "b".
sm_admin_sounds_adminlevelstop "b"


Changelog:
- 1.0
* Initial Release of dalto
- 1.0.1
* Increased the max number of sounds to 50
* Added error checking on the number of sounds
- 1.0.2 // Modified by :).Uberman.:) upon request of|HS|Jesus
* Added a chat "!stop" command to allow players to stop sounds started by this plug-in
- 1.0.3 // Modified by |HS|Jesus
* Added output of what sound is playing
- 1.1
* Made the config file load automatically
* Added sm_admin_sounds_delay
- 1.1.1 // Modified by cadavor
* Added Log message
* Disable menu after launch sound
* Added Cvar to enable or disable display and stop command
- 1.1.2 // Modified by cadavor
* Added to admin menu
* Added translations
- 1.1.3 // Modified by cadavor
* Added how many sounds has been loaded in log
* Added error in log when filename is too long to prevent crash of the plugin
- 1.1.4a // Modified by cadavor (not released)
* Added an option to stop all sound (require clientpref plugin) with say command !stopall
* Added cvar to control the volume of sounds
- 1.1.4b // Modified by cadavor (not released)
* Correction of displayed message
- 1.2.0 // Modified by cadavor
* Change config file to use KeyValue function (see soundslist.cfg for more details)
* Added command "sm_admin_sounds_list" to display in console all sounds and categories with parameters
* Added Cvar to choose the show time of menu
* Reset next sound delay on map start
- 1.2.1 // Modified by cadavor
* Added stop option for each categories and sounds
* Added Cvar to choose if menu will be shown again after each sound
* Added Cvar to choose admin flag for delay immunity
* Correction of StopAll option to check if ClientPref plugin is running
* Correction of Cvar tag to don't record the version in config file
- 1.2.2 (25-04-2010) // Modified by cadavor
* Added Back button to all menus
* Added stop action in menu
* Added cvar to choose admin level for stop option
* Added message for reenable sounds to client who "stopall" on each sound launched
* Change precache option to enable precache before level startup
* Fix check ClientPref plugin which sometimes made too early
* Fix stop option
* Fix say command if only one stop option was enabled
* Fix menu display again
* Fix sound selection when categories have same name (allow sound with same name in different category)
* Fix GetMenuIem errors

Attention:
You must delete the config file (cfg/sourcemod/adminsounds.cfg) to have new cvar added in!!!
(Delete the file, upload the plugin new version, changemap or reboot your server, the new config file has been created then you can download it and change options.)

Well This Plugin was created by me but some people copy and put it online first :) any thing ask on STEAM รK ® [R.I.P] Thirteen]

See you in my next Plugin :mrgreen::mrgreen:

Attached Files Dołączona grafika Admin Sounds.zip (24.9 KB)

Wyświetl pełny artykuł




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

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