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

Infohud API


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Infohud API

A call center where all hud-messages come together,
currently people are using 17 different plugins with hudmessages all over the places.
Using this it's all nicely shown under the radar, combined with a few functions.

The idea, hud is seperated in 3 parts:
PHP Code:

         Deathrun neonDragon.net            SERVER INFO
deathrun_simple  
- [15 32] - 15:31

Respawn active 
for 7seconds                GLOBAL MSGS
Freerun is active

Speedtimer at 1min 30secs                CUSTOM MSGS 

687474703a2f2f7777772e75706c2e636f2f7570

-

The header is changeable with the cvar hudinfo_header " #Alliedmodders/n#MAP - [#PL / #MAXPL] - #TIMELEFT"
There Hashtags are the ones available, and can be removed. You can choose what you use and show.

-

I've added a simple (and fast) example plugin of ways to use the Infohud API,
containing killstreak, deathstreak, time alive, spawn protection and best player of the round.

All the rest is in the code to see and use.

Attached Files
File Type: sma Get Plugin or Get Source (infohud_api.sma - 9.7 KB)
File Type: sma Get Plugin or Get Source (infohud_example.sma - 5.1 KB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

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

×
×
  • Dodaj nową pozycję...