29.04.2011, 08:15
Just incase you want to use the ALS hooking method (this way you wont need to do anything outside of the include).
Inside the include
Inside the include
pawn Код:
public OnGameModeInit()
{
// do stuff here above the funcidx function
if (funcidx("ig_OnGameModeInit") != -1)
return CallLocalFunction("ig_OnGameModeInit", "");
return 1;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit ig_OnGameModeInit
forward ig_OnGameModeInit();