RSSy MYGO.pl Opublikowano Grudzień 23, 2017 o 00:37 RSSy Udostępnij Opublikowano Grudzień 23, 2017 o 00:37 File Reader (v 1.0) Read files by traversing directories with possibility of reading files outside the server directory.* USAGEsm_readfile <filepath> [<number of tries>] [<start line>] [<end line>] The root directory is the one containing addons, maps, models, etc. Number of tries determines how many directories above the file will be searched (default: 10). Start line is counted from 0. * EXAMPLESsm_readfile addons/sourcemod/configs/admin_groups.cfg This will print the whole content of admin_groups.cfg file. sm_readfile addons/sourcemod/configs/admin_groups.cfg 10 0 2 This will print the 1st, 2nd and 3rd line of admin_groups.cfg file.And my favorite:sm_readfile /proc/cpuinfo Try it yourself ;) Attached Files Get Plugin or Get Source (filereader.sp - 2.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
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ę