I've created module, with AMXX Sdk for module (amxxmodule.cpp/h moduleconfig.h uncommented some functions) but after running my module AMXX says errors.
it shows such thing:
Code:
Loaded 1 admins from file.
Loaded 2 admins from file.
Loaded 3 admins from file.
Loaded 4 admins from file.
etc... but not in same time.
I saw that this was an error when i started playing after those 'errors'. For example round end hudmessages displayed X times.
Every registered function in plugin_init and plugin_precache called X times. (X = every written: Loaded * admins from file).
Don't know whats happening. I think uncommenting DispatchSpawn and ServerActivate overrode amxx original calls from those functions (but this is not true right ? or it is
)
--------------------------------------
Solved;
Problem:
Code:
FSupplyBoxOpen = MF_RegisterForward("FW_SupplyBoxOpen", ET_IGNORE, FP_CELL, FP_CELL);
Was called in OnAmxxAttach.
Changed OnAmxxAttach with OnPluginsLoaded(void) forward. Now everything works fine.
----
FSupplyBoxOpen was 0 and called everything !?