Quote:
Originally Posted by MrPickles
* I guess the error is because plugin B is loaded after plugin A
|
I make sure for it to load in specific order
PluginMain.amxx => PluginRegistered.amxx => PluginEnd.amxx
Quote:
Originally Posted by MrPickles
* you can just remove the precache plugin you want to disable
|
The whole point is to pause it before the resource is precache when condition are met
Quote:
Originally Posted by MrPickles
* It may also be that you are doing it in plugin_natives, I think it only works once inside the server, plugin_init, natives and precache are started before.
|
I need to register all the basic infomation like name and cost, then save them in an dynamic array and do the selection function to select which item will stay and which will be disabled.
So it need to be done before plugins_precache and only plugin_native is the only one before it.
__________________