08.12.2008, 12:26
tried this.
and this
but GetPlayerHealthEx always returns 0.00 and there are tag mismatch warnings after compile
what's wrong here?
i've done some SetPlayerHealthEx-s before GetPlayerHealthEx...
pawn Код:
new Float:health[MAX_PLAYERS];
stock SetPlayerHealthEx(playerid, Float:amount)
{
health[playerid] = amount;
SetPlayerHealth(playerid,health[playerid]);
return health[playerid];
}
pawn Код:
stock GetPlayerHealthEx(playerid, &Float:amount)
{
return health[playerid];
}
what's wrong here?
i've done some SetPlayerHealthEx-s before GetPlayerHealthEx...