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

[TF2] End of Round Friendly Fire (v1.0, 10/4/17)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[TF2] End of Round Friendly Fire

Description:
Automatically enables friendly fire at the end of a round and disables it at the start of the next round. It automatically makes a config file where you can enable/disable features such as printing messages in chat, center text, and hint text. I saw this plugin and noticed it was extremely outdated and was missing features that I would've liked to see such as hint text and chat messages.

Installation:
Code:

1.) Click the get plugin link and place the endroundff.smx file into addons/sourcemod/plugins
2.) Download the endroundff.phrases.txt translations file and place it into addons/sourcemod/translations
3.) (Optional) Edit the translations file to set the messages to your liking.
4.) Load the plugin using sm plugins load endroundff, changing the map or restarting your server.
5.) The plugin automatically generates a config file named endroundff.cfg in cfg/sourcemod, you can enable/disable features there. If you change any settings in the config, remember to reload the plugin afterwards with sm plugins reload endroundff!

ConVars:
These are found in the cfg/sourcemod/endroundff.cfg config file:
Code:

// Announce friendly fire changes with center text.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_endroundff_center "1"

// Announce friendly fire changes in chat.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_endroundff_chat "1"

// Enable/disable the plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_endroundff_enable "1"

// Announce friendly fire changes with hint text.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_endroundff_hint "1"

Change Logs:
Code:

*1.0 - Initial Release
Special Thanks:
Code:

cravenge - Assistance with updating the syntax and fixing ConVar changes.
Bug Reporting:
If anything is not working as it should, leave a post here and include error logs if necessary and I will get back to you ASAP. However, if you want a fast response I would recommend adding me on steam and contacting me there (in signature). Before reporting something, please ensure that you have followed the installation process completely.

P.S: This is the VERY FIRST plugin I have ever posted (I have been coding plugins for a while now). If you have any constructive criticism, absolutely feel free to post some down below! :)

Attached Files
File Type: sp Get Plugin or Get Source (endroundff.sp - 3.1 KB)
File Type: txt endroundff.phrases.txt (324 Bytes)

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ę...