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

Admin Connect Logs


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Admin Connect Logs
Version 1.1

Description:
Using this plugin, you can check the activity of managers (Admins) in your server
All details are stored in the following file, And you can check the specifications in this files
Code:

addons/amxmodx/configs/Connect_log/Connect_log-xxxxxxxx.log
With the following command, you can watch the list of admins that entered the server in your "console"
  • amx_connect_info
( Show File ( addons/amxmodx/configs/Connect_log/Connect_log-xxxxxxxx.log ) in the console )


File save date code by : +ARUKARI-
PHP Code:

formatex    (szLog,     charsmax(szLog), szLogFileszTime    ); 

File Info code by : fysiks ( Edited By Me: AlferD )
Code:
    new usersfile[64], data[128]     get_configsdir(usersfile, sizeof(usersfile) - 1)     add(usersfile, sizeof(usersfile) - 1, "/users.ini")         new f = fopen(usersfile, "rt")     if(f)     {         while( fgets(f, data, charsmax(data)) )         {             trim(data)             if( !data[0] || data[0] == ';' || data[0] == '/' && data[1] == '/' ) continue;                         console_print(id, data);         }         fclose(f)     }

Requirements:
  • AMX Mod X 1.8.2 and up

  • Non-Steam is not supported.

Rant:

Attachment 182193 version 1.1

Attached Files
File Type: sma Get Plugin or Get Source (connect_logs.sma - 1.9 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ę...