06.04.2018, 16:05
you should be using ALS for things like these
get YSI from here and read up on ALS here
example:
get YSI from here and read up on ALS here
example:
pawn Код:
#include <YSI\y_als>
stock SetPlayerHealthEx(playerid, Float:health)
{
//do your stuff here...
RL_UpdatedHealth[playerid]=true;
return SetPlayerHealth(playerid, health);
}
#if defined _ALS_SetPlayerHealth
#undef SetPlayerHealth
#else
#define _ALS_SetPlayerHealth
#endif
#define SetPlayerHealth SetPlayerHealthEx