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

[CS:GO/CS:S?] Simple ClanTag Detector


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

Allows you to set a clan tag and print a message to a player if they use your clan tag or not, by specific on convar that automatically create itself later after launch a server.

Current Version : Release 1.0.1

I currently run my own Zombie Escape server with Shop plugin from hlmod.ru And wrote a plugin to multiply credit if they use my server clan tag. but the problem is it cannot notice people that if they use a specific clan tag or not. So that why I wrote this plugin.


Also useful for store plugin too! but remember, this is just a detector.


PHP Code:

If you want to change a message that prints to the playersyou have to edit this line

if(StrEqual(clienttagSpecificClanTagfalse))
            {
                
PrintToChat(client"You currently using %s Tag, You will get extra credits while playing on our server, have fun!."SpecificClanTag);
            }
            else
            {
                
PrintToChat(client"You currently using %s Tag, Change your Clantag to %s and get extra credits!"clienttagSpecificClanTag);
            } 


Feel free to edit this and make it more advanced, if you want. This is my first plugin if there is anything you want to suggest me, please do it!

Attached Files
File Type: sp Get Plugin or Get Source (sm_simple_clantag_detector.sp - 2.8 KB)
File Type: smx sm_simple_clantag_detector.smx (12.3 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

×
×
  • Dodaj nową pozycję...