[HELP] Question Related to Libraries
Can anyone explain to me what is this for and why is it usefull?
PHP Code:
|
Re: [HELP] Question Related to Libraries
anyone can explain what are those libraries for? to know if it is worth to cut them out...
|
Re: [HELP] Question Related to Libraries
Are you asking why it filters natives?
|
Re: [HELP] Question Related to Libraries
yep, im asking why mercylez decided to use define LIBRARY and the filter parts
|
Re: [HELP] Question Related to Libraries
Likely this plugin relies on natives from third-party module, and to avoid plugin throwing an error at run-time because native/module doesn't exist, you can decide whether to ignore or not.
To make the plugin optional if you don't have the associated dependency. From doc: Quote:
|
Re: [HELP] Question Related to Libraries
So, they are there in case you don't have the plugin with the neccesary natives to not screw up, right?
so i can delete them if im planning to use all the plugins with the neccesary natives |
Re: [HELP] Question Related to Libraries
I'd recommend that you leave it there since you are not really understanding it. However, you could remove it and see what happens. If it breaks your plugin then put it back.
|
Re: [HELP] Question Related to Libraries
well, the addon im editing on, is zombie plague 5.0.. and it is made in pieces, that means it has around 70 plugins... as far as i know, after i delete the filters, all i should do is be careful at the checks ( if/switch/case )
i had an ideea what they do, but i wanted to know for sure i realy want to get rid of them, mainly because there are many checks for the libraries |
Re: [HELP] Question Related to Libraries
Sorry for double post, is in this case the module and native filter only used because of the externaly natives? i think yes, but i want to be sure :P
PHP Code:
|
Re: [HELP] Question Related to Libraries
Quote:
|
| All times are GMT -4. The time now is 17:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.