_ALS_ - How does it work?
#1

I'm using this to "replace" the function SetPlayerHealth with AC_SetPlayerHealth, i'd appreciate if someone could explain how / why this works. What is the _ALS_ part for?

pawn Код:
stock AC_SetPlayerHealth(playerid, Float:health)
{
/*
.....
*/

}
#if defined _ALS_SetPlayerHealth
    #undef SetPlayerHealth
#else
    #define _ALS_SetPlayerHealth
#endif
#define SetPlayerHealth AC_SetPlayerHealth
Reply


Messages In This Thread
_ALS_ - How does it work? - by RedFusion - 16.08.2013, 23:26
Re: _ALS_ - How does it work? - by Edix - 16.08.2013, 23:28
Re: _ALS_ - How does it work? - by iLuXing - 02.11.2014, 09:52
Re: _ALS_ - How does it work? - by DanishHaq - 02.11.2014, 09:53

Forum Jump:


Users browsing this thread: 2 Guest(s)