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

[INS] AmmoStatus


  • 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 22.03.2015 19:42

AmmoStatus

This plugin will display the magazine status of the weapon in use in percentages, if applicable. (i.e. will not display status if holding a knife)

Example: Mag is at 100%, Mag is at 45%, Mag is Empty!, etc...

It updates the print out in two different ways depending on how you set it up; See CVars.

** Credits **

This plugin was inspired by JBallou's AmmoCheck plugin which can be found here:
https://github.com/j....g/ammocheck.sp

CVars:

sm_ammo_status_enabled (1 to enable, 0 to disable)
sm_ammo_status_share (1 to share the screen with another plugin, 0 to hog the hint text screen position.)

Explanation: If sm_ammo_status_share is set to 1, the status of the magazine will only show when the weapon is in use (equipped, reloaded, fired, etc). If it's set to 0, the status will always show.

*note: If you have another plugin installed (like showhealth) that prints to hint text, and you set sm_ammo_status_share to 0 - the two plugins will compete for time on the screen, resulting often in a flashing effect between the two plugins' outputs.

Install:

Place the AmmoStatus.smx file in your sourcemodplugins folder. Restart the server.
A file named plugin.AmmoStatus.cfg is created in the insurgencycfgsourcemod in which you set your CVars.



Attached Files Dołączona grafikaGet Plugin or Get Source (AmmoStatus.sp - 4.8 KB)

Wyświetl pełny artykuł




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

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