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

RSS[INS] Theater Items API (2021-06-04)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
A Theater Items API For Insurgency(2014)
This API provides the function of querying the class names of gear and weapon upgrade of player equipment, and also provides the function of giving weapon the weapon upgrade.

Command
PHP Code:

"sm_update_theater_items" // Force update the theater items name record list
"listweapons" // List all weapons in the currently loaded theater
"listupgrades" // List all weapon upgrades in the currently loaded theater
"listexplosives" // List all explosives in the currently loaded theater
"listplayergear" // List all player gear in the currently loaded theater 

Installation Guide
Code:

Put TheaterItemsAPI.smx into "sourcemod\plugins\"
Put TheaterItemsAPI.inc into "sourcemod\scripting\include"
Add "#include <TheaterItemsAPI>" at the top of your plugin code and check the TheaterItemsAPI.inc file when you edit your own plugin

Main API
Spoiler

Example Code
Spoiler


中文服务器使用此插件请务必署名加鸣谢。
没有x社区提供的服务器的支持不会有此插件的诞生。

Link

Attached Files
File Type: smx TheaterItemsAPI.smx (11.1 KB)
File Type: sp Get Plugin or Get Source (TheaterItemsAPI.sp - 9.9 KB)
File Type: inc TheaterItemsAPI.inc (10.2 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...