[Include] HAChange (New Method Detection) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] HAChange (New Method Detection) (
/showthread.php?tid=571584)
HAChange (New Method Detection) -
Dayvison_ - 19.04.2015
--------------------------------------------------------------------------
HAChange
--------------------------------------------------------------------------
Description:
Quote:
Adds Callbacks OnPlayerHealthChange and OnPlayerArmourChange.
Also fix GetPlayerHealth and GetPlayerArmour, to get most to 255.
|
Callbacks:
PHP код:
OnPlayerHealthChange(playerid, newhealth, oldhealth);
OnPlayerArmourChange(playerid, newarmour, oldarmour);
Configuration:
Quote:
#define FixGetPlayerArmour to enable fix in GetPlayerArmour, to get most to 255.
#define FixGetPlayerHealth to enable fix in GetPlayerHealth, to get most to 255.
|
Credits to:
Quote:
Dayvison - Creation of the include
PT - Tip on OnPllayerTakeDamage
|
Link:
Review suggestions, Bugs MP to me
Re: HAChange (New Method Detection) -
Pottus - 20.04.2015
I really don't see the point to be honest with you dude there is already an include that encompasses all that you would ever need here.
https://sampforum.blast.hk/showthread.php?tid=563387
Re: HAChange (New Method Detection) -
Dayvison_ - 20.04.2015
Quote:
Originally Posted by Pottus
|
maybe someone does not want to use it
Re: HAChange (New Method Detection) -
DevinPatino - 20.04.2015
What about this?
https://sampforum.blast.hk/showthread.php?tid=563387 I guess it's okay to have this if someone doesn't want to use this one. Rep+ for your work.