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] Ammunition Variation


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Introduction

An improved/remade version of the following plugins:

[L4D] Varying Ammunition Reserves
[L4D2] Varying Ammunition Reserves (1.5.3)

New Features/Differences

- When disabled, all ammunition revert to default values.
- Enable/disable the plugin in certain game modes.
- Supports both Left 4 Dead games so it's a 2-in-1 revision of the original plugins.
- Doesn't support AtomicStryker's Gun Control plugin.
- Less code used.

ConVars

PHP Code:

// Maximum ammo count for Assault rifles.
// -
// Default: "360"
av_assaultrifle_max "360"

// Minimum ammo count for Assault rifles.
// -
// Default: "180"
av_assaultrifle_min "180"

// Maximum ammo count for Automatic shotguns.
// -
// Default: "90"
av_autoshotgun_max "90"

// Minimum ammo count for Automatic shotguns.
// -
// Default: "45"
av_autoshotgun_min "45"

// The ammunition count for guns change every time this many seconds passes.
// -
// Default: "60.0"
av_changedelay "60.0"

// Disable the plugin in these game modes.
// (Empty: None)
// (Not empty: Disabled in these game modes, separated by commas with no spaces.)
// -
// Default: ""
av_disabledgamemodes ""

// Enable the plugin?
// (0: OFF)
// (1: ON)
// -
// Default: "1"
av_enable "1"

// Enable the plugin in these game modes.
// (Empty: All)
// (Not empty: Enabled in these game modes, separated by commas with no spaces.)
// -
// Default: ""
av_enabledgamemodes ""

// Maximum ammo count for Grenade launchers.
// -
// Default: "10"
av_grenadelauncher_max "10"

// Minimum ammo count for Grenade launchers.
// -
// Default: "5"
av_grenadelauncher_min "5"

// Maximum ammo count for Hunting rifles.
// -
// Default: "150"
av_huntingrifle_max "150"

// Minimum ammo count for Hunting rifles.
// -
// Default: "80"
av_huntingrifle_min "80"

// Maximum ammo count for M60s.
// -
// Default: "150"
av_m60_max "150"

// Minimum ammo count for M60s.
// -
// Default: "80"
av_m60_min "80"

// Maximum ammo count for Shotguns.
// -
// Default: "56"
av_shotgun_max "56"

// Minimum ammo count for Shotguns.
// -
// Default: "28"
av_shotgun_min "28"

// Maximum ammo count for SMGs.
// -
// Default: "480"
av_smg_max "480"

// Minimum ammo count for SMGs.
// -
// Default: "240"
av_smg_min "240"

// Maximum ammo count for Sniper rifles.
// -
// Default: "180"
av_sniperrifle_max "180"

// Minimum ammo count for Sniper rifles.
// -
// Default: "90"
av_sniperrifle_min "90" 

Changelog

Version 1.0 (June 10, 2018)

Initial release.

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