11.08.2011, 02:38
(
Последний раз редактировалось Lifer; 11.08.2011 в 14:08.
)
#define DarVida SetPlayerHealth
#define DarColete SetPlayerArmour
stock Float:PegarVida(playerid)
{
new Float:pHealth;
GetPlayerHealth(playerid, pHealth);
return pHealth;
}
stock Float:PegarColete(playerid)
{
new Float:pArmour;
GetPlayerArmour(playerid, pArmour);
return pArmour;
}
#define DarVida(%0,%1) (SetPlayerHealth(%0, PegarVida(playerid)+%1))
#define DarColete(%0,%1) (SetPlayerArmour(%0, PegarColete(playerid)+%1))