View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 03-13-2019 , 15:50   Re: ArrayList in <include> for use in two plugin
Reply With Quote #2

That isn't how includes work. That's also why i'm against morecolors etc making StringMaps/Tries because every plugin that uses it creates the StringMap/Trie.
When you compile your plugin you are bringing in all the code from the include* into your plugin. Which means theres no reference between plugins.
You'll need a middle man plugin or core plugin that handles this array.
The Core plugin can give out the values/modify the values via natives.

* Unless it's a stock method and you don't use it.

Last edited by Mitchell; 03-13-2019 at 15:51.
Mitchell is offline