03.08.2009, 23:39
solvde
Originally Posted by saiberfun
well couldn't u tell the ppl how u solved ur probs?
and change ur subject to [SOLVED]? |
new hp = PlayerInfo[playerid][pHealth];
new Float:hp = PlayerInfo[playerid][pHealth];
Originally Posted by Don Correlli
I believe you're saving player's health in float format.
so, you should change this: pawn Код:
pawn Код:
|
SetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, floatround(hp));
new float:hp = PlayerInfo[playerid][pHealth]; SetPlayerHealth(playerid, hp);
Originally Posted by Mowgli
Both Have tag mis match
Код:
new float:hp = PlayerInfo[playerid][pHealth]; SetPlayerHealth(playerid, hp); |