Hooking (ALS)
#6

I think the easiest way for you is to use the y_hooks include, otherwise u'll need to write your own hooking system, or you could use old school techniques by calling an include function from a callback, something like

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
        Include_OnTakeDamage(playerid, issuerid, ammount, weaponid);
        return 1;
}
which i assume u dont want to use,
take a look at this thread ( https://sampforum.blast.hk/showthread.php?tid=85907 ), it may help you
Reply


Messages In This Thread
Hooking (ALS) - by CreativityLacker - 30.05.2013, 18:09
Re: Hooking (ALS) - by CreativityLacker - 31.05.2013, 09:15
Re: Hooking (ALS) - by DobbysGamertag - 31.05.2013, 09:19
Re: Hooking (ALS) - by CreativityLacker - 31.05.2013, 12:26
Re: Hooking (ALS) - by CreativityLacker - 02.06.2013, 12:52
Re: Hooking (ALS) - by OrMisicL - 02.06.2013, 13:11
Re: Hooking (ALS) - by MP2 - 02.06.2013, 14:09
Re: Hooking (ALS) - by MP2 - 02.06.2013, 14:57
Re: Hooking (ALS) - by Lordzy - 02.06.2013, 16:14
Re: Hooking (ALS) - by MP2 - 02.06.2013, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)