25.01.2009, 03:03
Did you test THIS filterscript? I bet you didn't. Since the menu's gets created in "OnFilterScriptExit()"
And both callbacks "OnFilterScriptInit()" and "OnFilterScriptExit()" only loads in "FILTERSCRIPT" is defined.
Line 16:
But you did not define 'FILTERSCRIPT', so those 2 callbacks will not get called.
To solve, put above line 16:
(And offcourse put the CreateMenu's in the OnFilterScriptInit()-callback instead the OnFilterScriptExit()-callback.
And both callbacks "OnFilterScriptInit()" and "OnFilterScriptExit()" only loads in "FILTERSCRIPT" is defined.
Line 16:
Code:
#if defined FILTERSCRIPT public OnFilterScriptInit() {
To solve, put above line 16:
Code:
#define FILTERSCRIPT