Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[L4D] Votemute (no black screen)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
This plugin adds ability to vote for voice mute.
Features:
- translucent vote menu.
- mute for 1 hour (adjustable) even if player used trick to quit the game before vote ends.
- vote announcement
- flexible configuration of access rights
- all actions are logged (who mute, whom mute, who tried to mute ...)
Logfile location:
- logs/vote_mute.log
Permissions:
- by default, vote can be started by everybody (adjustable) if immunity and player count checks passed.
- ability to set minimum time to allow repeat the vote.
- ability to set minimum players count to allow starting the vote.
- admins cannot target root admin.
- set #PRIVATE_STUFF to 1 to unlock some additional options - forbid vote by name or SteamID
Settings (ConVars):

- sm_votemute_delay - def.: 60 - Minimum delay (in sec.) allowed between votes
- sm_votemute_timeout - def.: 10 - How long (in sec.) does the vote last
- sm_votemute_announcedelay - def.: 2.0 - Delay (in sec.) between announce and vote menu appearing
- sm_votemute_mutetime - def.: 3600 - How long player will be muteed (in sec.)
- sm_votemute_minplayers - def.: 1 - Minimum players present in game to allow starting vote for mute
- sm_votemute_accessflag - def.: "" - Admin flag required to start the vote (leave empty to allow for everybody)
- sm_votemute_handleadminmenu - def.: 1 - Should this plugin handle mute/gag made via admin menu? (1 - Yes / 0 - No)
- sm_votemute_log - def.: 1 - Use logging? (1 - Yes / 0 - No)
Commands:
- sm_vm (or sm_votemute) - Try to start vote for mute
- sm_veto - Allow admin to veto current vote (ADMFLAG_BAN is required)
- sm_votepass - Allow admin to bypass current vote (ADMFLAG_BAN is required)
Requirements:
- GeoIP extension (included in SourceMod).
- SourceMod Communication Plugin - Basecomm.smx (included in SourceMod).
Languages:
- Russian
- English
Installation:
- copy smx file to addons/sourcemod/plugins/
- copy phrases.txt file to addons/sourcemod/translations/
TODO:
- unmute
- permanent mute on join automatically by list

Attached Files
File Type: sp Get Plugin or Get Source (l4d_votemute.sp - 17.7 KB)
File Type: txt l4d_votemute.phrases.txt (2.3 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

×
×
  • Dodaj nową pozycję...