16.01.2014, 12:59
Quote:
Everything is fine with the example, it's just your fault that health is declared as global variable. Just change the name:
pawn Код:
|
I got another problem though.
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:HealthX;
GetPlayerHealth(playerid, HealthX);
pStats[playerid][health] = Float:HealthX; // Tag Mismatch
return 1;
}
Also tried to do pStats[playerid][health] = HealthX;