Health above 256
#10

tried this.
pawn Код:
new Float:health[MAX_PLAYERS];

stock SetPlayerHealthEx(playerid, Float:amount)
{
  health[playerid] = amount;
  SetPlayerHealth(playerid,health[playerid]);
  return health[playerid];
}
and this
pawn Код:
stock GetPlayerHealthEx(playerid, &Float:amount)
{
      return health[playerid];
}
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...
Reply


Messages In This Thread
Health above 256 - by Slice - 07.12.2008, 14:00
Re: Health above 256 - by Serbish - 07.12.2008, 14:02
Re: Health above 256 - by Slice - 07.12.2008, 14:07
Re: Health above 256 - by Serbish - 07.12.2008, 14:14
Re: Health above 256 - by Slice - 07.12.2008, 14:16
Re: Health above 256 - by Serbish - 07.12.2008, 14:30
Re: Health above 256 - by yom - 07.12.2008, 14:52
Re: Health above 256 - by Slice - 07.12.2008, 15:17
Re: Health above 256 - by Serbish - 07.12.2008, 15:21
Re: Health above 256 - by CracK - 08.12.2008, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)