As the guide says, you can do this:
Code:
#include <amxmodx>
forward ThisFunction(num);
public plugin_init()
{
ThisFunction(5);
}
ThisFunction()
{
return 56
}
However, I seriously recommend not abusing this.
If you need forward declarations for anything other than abstracting a set of API (like natives), you are missing the intent of plugins/doing something wrong. I'm sticking with my recommendations of either using a proper naming scheme or following the increasing trend of splitting plugins into smaller, intercommunicating pieces (the days of massive, monocode plugins are slowly ending).
__________________