Hooking OnPlayerClickTextDraw in an include
#1

YSI's y_hooks doesn't seem to support it yet. I guess it has to be added by ******? It's an 0.3e callback. Is there an alternative to hook it?
Reply
#2

Use the classic mode that is _ALS_ .

Example:

pawn Код:
#if defined _ALS_OnFilterScriptInit
    #undef OnFilterScriptInit
#else
    #define _ALS_OnFilterScriptInit
#endif
#define OnFilterScriptInit Function_OnFilterScriptInit
Reply
#3

Can someone just give me the ENTIRE code with a comment where I should put my code that I want to be called on the callback? I've been trying to do this SIMPLE thing for over 2 hours now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)