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

[ZR] Leader


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[ZR] Leader

Description
Allows for an admin to select or for regular players to vote for a human to be the leader for the current round. The leader gets special perks, like the ability to put defend here / follow me sprites above their head, place defend markers, toggle a rainbow beacon, custom chat, custom radio commands, and maybe more in the future.

Requirements
This plugin requires Zombie:Reloaded.

Server ConVars
  • sm_leader_version - Leader Version (2.9)
  • sm_leader_allow_votes - Determines whether players can vote for leaders. (Default: "1")
  • sm_leader_defend_vmt - The defend here .vmt file (Default: "materials/sg/sgdefend.vmt")
  • sm_leader_defend_vtf - The defend here .vtf file (Default: "materials/sg/sgdefend.vtf")
  • sm_leader_follow_vmt - The follow me .vmt file (Default: "materials/sg/sgfollow.vtf")
  • sm_leader_follow_vtf - The follow me .vtf file (Default: "materials/sg/sgfollow.vtf")

Commands
  • sm_leader - Access the leader menu OR Set a player to be leader (ADMFLAG_GENERIC)
  • sm_currentleader - Shows the current leader.
  • sm_voteleader <player> - Votes for the specified player to be leader. Required votes is current player count / 10.
  • sm_removeleader (ADMFLAG_GENERIC) - Removes the current leader.

Planned Features
  • Config
  • More extensive API
  • More rainbow stuff

API
Spoiler


Screenshots
Spoiler


Changelog
  • 2.9 - Plugin Release

If you find any bugs, feel free to give feedback so I can fix the plugin.

Attached Files
File Type: sp Get Plugin or Get Source (leader2.sp - 23.2 KB)
File Type: zip leader.zip (177.6 KB)
File Type: smx leader2.smx (18.7 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

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...