redefinition of constant/macro
#8

you should be using ALS for things like these

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
Reply


Messages In This Thread
redefinition of constant/macro - by Mill - 06.04.2018, 15:31
Re: redefinition of constant/macro - by Drak03 - 06.04.2018, 15:51
Re: redefinition of constant/macro - by Drak03 - 06.04.2018, 15:54
Re: redefinition of constant/macro - by Mill - 06.04.2018, 15:57
Re: redefinition of constant/macro - by ForCop - 06.04.2018, 16:01
Re: redefinition of constant/macro - by Mill - 06.04.2018, 16:02
Re: redefinition of constant/macro - by ForCop - 06.04.2018, 16:04
Re: redefinition of constant/macro - by CutX - 06.04.2018, 16:05
Re: redefinition of constant/macro - by Mill - 06.04.2018, 16:17
Re: redefinition of constant/macro - by ForCop - 06.04.2018, 16:27

Forum Jump:


Users browsing this thread: 1 Guest(s)