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/ANY] Very Important Person (VIP)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Very Important Person


Description

I've made this plugin as a request from some Zombie Escape communities.
Basically, it choses a randomly human to make him VIP (after X seconds -using a cvar- or after the first infection), then if he dies or is infected, the round is over, slaying all the rest alive humans. This plugin has cvars, commands, admin commands, and beacons to identify the VIP.

WARNING! Tested in CS:S, but it should work on CS:GO. If it doesn't work on it, let me know.

CVars

zr_viptimer "time" (default 20): Time until a vip is chosen.
zr_vipenable "1/0" (default 1): Enable or disable the VIP function.


Client commands

sm_currentvip / !currentvip: Prints in the chat the name of the current VIP.

Admin commands

sm_vipmode / !vipmode: Same as the CVar zr_vipenable, admins with the ADMFLAG_BAN could use this command to turn on/off the plugin. Useful if some admins doesn't have the sm_cvar (h) flag to execute the cvar to enable it.


Installation

Just drag and drop the smx file into sourcemod/plugins.
Ideas are welcome :)

Thanks to the coders who have helped me :)

Attached Files
File Type: sp Get Plugin or Get Source (VeryImportantPerson.sp - 7.8 KB)
File Type: smx VeryImportantPerson.smx (16.1 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ę...