Error problems strike again ;/
#10

Quote:
Originally Posted by GloomY
Посмотреть сообщение
I'm looking for the includes in y_dohooks.inc
Open that file and check the includes there.
Includes+Defines:

PHP код:
#include <YSI\internal\y_version>
#include <a_samp>
#include <YSI\y_debug>
#include <YSI\y_amx>
#define ALS_PREFIX S@@
#if !defined YSI_FILTERSCRIPT
    
new
        
bool:YSI_FILTERSCRIPT false;
#endif
#define hook%0On%1(%2) UNIQUE_FUNCTION<@yH_%1...>(%2);UNIQUE_FUNCTION<@yH_%1...>(%2)
//#define master_hook%0On%1(%2) UNIQUE_FUNCTION<@yH_%1...>(%2);UNIQUE_FUNCTION<@yH_%1...>(%2)<>{return ALS_R_%1;}UNIQUE_FUNCTION<@yH_%1...>(%2)<_YCM:y>
#define rehook%0On%1(%2) UNIQUE_FUNCTION<@yH_%1...>(%2)
#define Hook:%0On%1(%2) UNIQUE_FUNCTION<@yH_%1...%0>(%2);UNIQUE_FUNCTION<@yH_%1...%0>(%2)
#include <YSI\y_als>
/*#if !defined OnPlayerLogin
#endif
#if !defined OnPlayerLogout
#endif*/
//forward Hooks_OnPlayerLogin(playerid, yid);
//forward Hooks_OnPlayerLogout(playerid, yid);
//hook OnPlayerConnect
#if !defined HOOKS_MAX_UPDATES
    // Slight increase from the previous version.
    #define HOOKS_MAX_UPDATES           (8)
#endif
// One of the few places where this is still used.
ALS_DATA<>
// These defines now use the much more generic ALS code so that the list of
// callbacks is only done in one place.
#define HOOK_R_INT<%0,%2>(%3) return Bit_GetBit(Bit:gs_ALS,_:ALS_On%0)?P@(#ALS_PREFIX"_On"#%0,(q:#%2#),ALS_RS_%3):ret;
#define HOOK_RETURN<%0> ALS_DO:HOOK_R_INT<%0>
#define HOOK_C_INT<%0,%2>(%3) if(Bit_GetBit(Bit:gs_ALS,_:ALS_On%0))return P@(#ALS_PREFIX"_On"#%0,(q:#%2#),ALS_RS_%3);hooks_do_hooks_call_no_als:return ret;
#define HOOK_CALL<%0> ALS_DO:HOOK_C_INT<%0> 
Reply


Messages In This Thread
Error problems strike again ;/ - by weedxd - 14.04.2014, 17:00
Re: Error problems strike again ;/ - by Bingo - 14.04.2014, 17:02
Re: Error problems strike again ;/ - by weedxd - 14.04.2014, 17:03
Re: Error problems strike again ;/ - by weedxd - 14.04.2014, 17:11
Re: Error problems strike again ;/ - by GloomY - 14.04.2014, 17:34
Re: Error problems strike again ;/ - by weedxd - 14.04.2014, 17:46
Re: Error problems strike again ;/ - by GloomY - 14.04.2014, 18:17
Re: Error problems strike again ;/ - by weedxd - 14.04.2014, 18:23
Re: Error problems strike again ;/ - by GloomY - 14.04.2014, 18:27
Re: Error problems strike again ;/ - by weedxd - 14.04.2014, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)