06.04.2018, 16:17
Quote:
change them:
Код:
stock SetPlayerHealthEx(playerid, Float:health) { // RL_phealth[playerid]=health; RL_UpdatedHealth[playerid]=true; return SetPlayerHealth(playerid, health); } #define SetPlayerHealth SetPlayerHealthEx // SetPlayerArmour stock SetPlayerArmourEx(playerid, Float:armour) { // RL_parmour[playerid]=armour; RL_UpdatedHealth[playerid]=true; return SetPlayerArmour(playerid, armour); } #define SetPlayerArmour SetPlayerArmourEx Код:
#define SetPlayerHealthEx(%0, %1) RL_UpdatedHealth[%0]=true; SetPlayerHealth(%0, %1); #define SetPlayerArmourEx(%0, %1) RL_UpdatedHealth[%0]=true; SetPlayerArmour(%0, %1); |