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

Weapon Max Shot Distance


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

Napisano 14.10.2011 22:56

Weapon Max Shot Distance

By: nikhilgupta345

<b>

Description:

</b>

This plugin allows you to limit the maximum distance a player can be with a certain weapon to hit a player.


<b>

CVars:

</b>

  • max_distance_* - Max distance players can be to hit opponent with specified weapon


    Possible Values for * are:

  • p228
  • scout
  • xm1014
  • mac10
  • aug
  • elite
  • fiveseven
  • ump45
  • sg550
  • galil
  • famas
  • usp
  • glock18
  • awp
  • mp5navy
  • m249
  • m3
  • m4a1
  • tmp
  • g3sg1
  • deagle
  • sg552
  • ak47
  • p90

[/list]

Installation:

  • Click 'Get Plugin' link below
  • Place 'max_shot_distance.amxx' in addons/amxmodx/plugins/ folder
  • Open addons/amxmodx/configs/plugins.ini
  • Add the line 'max_shot_distance.amxx' at the bottom
  • Add CVARs you want to amxx.cfg. All cvars default to 0, meaning that they are inactive and players can be hit with that weapon from anywhere
  • Restart server or change map


Changelog:


  • Code: October 14, 2011
  • -v1.0-
  • Initial Release
[/list]

Notes:

  • The distances tend to be very high numbers. For example, setting a weapon to 200 units is about the distance from the box at mid on de_dust2 to the mid doors. (The boxes in front of the entrance to lower tunnels).
  • The distance between players if they are touching I think is ~35 or so.


Attached Files Dołączona grafika Get Plugin or Get Source (max_shot_distance.sma - 3.3 KB)

Wyświetl pełny artykuł




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

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