03.03.2015, 14:23
I am not sure about this, but should not it be:
Code:
int AnEventForCallingBack(AMX* pAMX) //to check/find publics present in the abstract machine { int idx; cell ret, amx_Address,*phys_addr; int amxerr = amx_FindPublic(pAMX, "OnMouseWheelScroll", &idx); if (amxerr == AMX_ERR_NONE) { amx_Exec(pAMX, &ret, idx); return 1; } return 0; }