Skocz do zawartości

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

Deathrun Lifes (1.0.0 - 27.07.2013)


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

Napisano 27.07.2013 11:30

Dołączona grafika

.: Description :.

Deathrun Lifes is a simple plugin where Counter-Terrorists can collect lifes by killing the Terrorist.
Those lifes can be used to respawn when you died in a round.
The Plugin also has two natives to make to compatible with other plugins.

.: Requirements :.

  • A Steam Server
.: Defines :.



PHP Code:


#define PREFIX "[Deathrun Lifes]"
.: Commands :.
  • say /life - Shows a colored message in the chat with the amount of lifes you have.
  • say /lifes - Shows a colored message in the chat with the amount of lifes you have.
.: CVars :.
  • lifes_minplayer (Default : 2) - Amount of players required to open up the revive menu when dying.
.: Natives :.
  • deathrun_get_user_lifes(index) - Returns an integer with the amount of lifes a player has.
  • deathrun_set_user_lifes(index, value) - Sets <value> as the new amount of lifes a player has.



Attached Files Dołączona grafikaGet Plugin or Get Source (deathrun_lifes.sma - 4.7 KB) Dołączona grafikakia_drunlifes.inc (290 Bytes)

Wyświetl pełny artykuł




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

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