Help, making a callback
#2

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;
}
Reply


Messages In This Thread
Help, making a callback - by adri1 - 01.03.2015, 20:38
Re: Help, making a callback - by vermaritt - 03.03.2015, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)