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] Respawn System API!


owner_2019
 Udostępnij

Rekomendowane odpowiedzi

[TF2] Respawn System API

iM4qVrzbB0ggaVfvoFdW1dj1ZvjGzKvmK5zkV8uV
  • Version: 0.1

Introduction:
Oh no, an other respawn time plugin, wait it's not a new respawn time plugin. :) It's an API, that allows you to control the respawn time! And you don't have to print an ugly message like in other respawn plugins! You can override the client's hud directly! And I made a ton of natives to make your life easier.

Description:
  • Allows plugin developpers to control the game's respawn time.
    You can:
  • Set the respawn time of a team.
  • Set the respawn time of a client.
  • Get the respawn time of a team.
  • Get the respawn time of a client.
  • Detect when the game changes the respawn time of a team.
  • Detect when the game sets the respawn time on the client.
  • Detect when the game updates the respawn time of a client.
The inc (with forwards and natives):
Spoiler


Installation:
  • Download tf2_respawn_system_core.smx and put it into your plugins folder.
  • Download tf2_respawn.inc and put into your include folder.
  • (Optional) Download tf2_respawn_system_core.sp and put into your scripting folder.

Bugs:
  • None.

List of plugins working with this API:
  • None (A plugin, and a example plugin are comming).

Git-Hub Link

Attached Files
File Type: sp Get Plugin or Get Source (tf2_respawn_system_core.sp - 11.3 KB)
File Type: smx tf2_respawn_system_core.smx (8.4 KB)
File Type: inc tf2_respawn.inc (3.5 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ę...