RSSy MYGO.pl Opublikowano Październik 1, 2018 o 06:19 RSSy Udostępnij Opublikowano Październik 1, 2018 o 06:19 The plugin finds plugin filename by it's console command.Admin Commands Admin Commands Needed admin flag: bsm_find <command> - Find plugin name and plugin filenamesm_findex <command> - Find only plugin filename (useful for ServerCommandEx) Use example Use example If you want connect few plugins without include files If you want to avoid plugin conflict and unload conflicting For example, anti-cheats KAC and SMAC. I have a KAC. I want to exclude the work of SMAC. If in the code of KAC to make unloading of SMAC by the filename smac.smx, then when we change the smac.smx to smac1.smx SMAC will not be unloaded. Using the Plugin Finder we can find out the plugin filename SMAC, for example by command smac_status. How it will look in the code: PHP Code: decl String:sPluginFilename[128]; ServerCommandEx(sPluginFilename, sizeof(sPluginFileame), "sm_findex smac_status"); ServerCommand("sm plugins unload %s", sPluginFilename); Attached Files Plugin Finder.zip (6.7 KB) PluginFinder.smx (4.3 KB) Get Plugin or Get Source (PluginFinder.sp - 2.9 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ę