[Include] gCasino - Scripted Casino's
#21

If someone is going to use YSI that is going to cause problems I had to hook this callback before YSI is included it looks like this. Keep in mind this was used before YSI was included so you'll probably have to do some preprocessor checks to determine how it should be hooked.

Keep in mind that this is to hook before YSI is included I have not tested it after YSI is included in which case you should use y_hooks for hooking instead.

pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    OnPlayerClickPlayerTD(playerid, PlayerText:playertextid);
    return 1;
}

#if defined _ALS_OnPlayerClickPlayerTD
    #undef OnPlayerClickPlayerTextDraw
#else
    #define _ALS_OnPlayerClickPlayerTD
#endif
#define OnPlayerClickPlayerTextDraw OnPlayerClickPlayerTD
Reply


Messages In This Thread
gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 05:49
Re: gCasino - Scripted Casino's - by Aerotactics - 09.02.2014, 06:40
Re: gCasino - Scripted Casino's - by Lordzy - 09.02.2014, 06:51
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 06:58
Re: gCasino - Scripted Casino's - by Aerotactics - 09.02.2014, 07:02
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 07:04
Re: gCasino - Scripted Casino's - by audriuxxx - 09.02.2014, 07:24
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 07:35
Re: gCasino - Scripted Casino's - by AIped - 09.02.2014, 07:54
Re: gCasino - Scripted Casino's - by zSuYaNw - 09.02.2014, 08:13
Re: gCasino - Scripted Casino's - by Patrick - 09.02.2014, 08:50
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 09:15
Re: gCasino - Scripted Casino's - by Aerotactics - 09.02.2014, 09:34
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 09:58
Re: gCasino - Scripted Casino's - by audriuxxx - 09.02.2014, 11:25
Re: gCasino - Scripted Casino's - by audriuxxx - 09.02.2014, 12:30
Re: gCasino - Scripted Casino's - by PT - 09.02.2014, 12:35
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 14:29
Re: gCasino - Scripted Casino's - by audriuxxx - 09.02.2014, 14:48
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 14:58
Re: gCasino - Scripted Casino's - by Pottus - 09.02.2014, 15:30
Re: gCasino - Scripted Casino's - by audriuxxx - 09.02.2014, 15:58
Re: gCasino - Scripted Casino's - by Aerotactics - 09.02.2014, 21:14
Re: gCasino - Scripted Casino's - by Grimrandomer - 09.02.2014, 21:29
Re: gCasino - Scripted Casino's - by Aerotactics - 09.02.2014, 22:05
Re: gCasino - Scripted Casino's - by Kenshin869 - 10.02.2014, 02:40
Re: gCasino - Scripted Casino's - by Grimrandomer - 10.02.2014, 09:26
Re: gCasino - Scripted Casino's - by audriuxxx - 10.02.2014, 17:16
Re: gCasino - Scripted Casino's - by Aerotactics - 13.02.2014, 07:49
Re: gCasino - Scripted Casino's - by PSYCHOBABYKILLA - 10.04.2015, 04:26
Re : gCasino - Scripted Casino's - by tysanio - 10.08.2015, 04:48
Re: gCasino - Scripted Casino's - by rt-2 - 07.09.2016, 02:59
Re: gCasino - Scripted Casino's - by Spmn - 07.09.2016, 13:12
Re: gCasino - Scripted Casino's - by rt-2 - 07.09.2016, 23:03

Forum Jump:


Users browsing this thread: 1 Guest(s)