21.06.2016, 22:30
I have a problem with making a function work when is used in PAWN script.
and yes, I do have SUPPORTS_AMX_NATIVES defined in Supports() function. It gives run time error 19 for function "PrintFunc" not found.
I use amalgamation version.
pawn Код:
static cell AMX_NATIVE_CALL PrintFunc(AMX *amx, cell *params)
{
logprintf("PrintFunc is working.");
return 1;
}
AMX_NATIVE_INFO PluginNatives[] =
{
{"PrintFunc", PrintFunc},
{0, 0}
};
I use amalgamation version.