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/L4D2]Tank HP Color


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Intro

The idea of this plugin arises from the need to know the hp of the tank, without having to resort to other plugins that use HUDs or entities. So to help a friend on his server, i decided to create this plugin.

The color of the tank changes as he suffers some type of damage. The color varies gradually depending on your percentage of health, among the colors: yellow-orange-red.

Cvars:

PHP Code:

// 0: Disable, 1: Enable plugin
// Default: "1"
tank_hpcolor_on "1"

// 0: Disable, 1: Enable color restoration if it does not suffer any damage
// Default: "0"
tank_hpcolor_reset "0"

// Set time in seconds to restore color
// Default: "0.5"
// Minimum: "0.100000"
tank_hpcolor_reset_delay "0.5" 

Notes:
-if you use other plugins that change the color of the tank, possibly there is some conflict between them,
therefore it is recommended to activate the cvar: tank_hpcolor_reset "1"



credits
Skyy
Franc1sco


pd: sorry for me bad english :/

Attached Files
File Type: sp Get Plugin or Get Source (tank_hpcolor.sp - 6.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

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

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