26.03.2019, 15:20
Trying to make a custom health system:
OnPlayerSpawn:
But i'm getting tag mismatch at OnPlayerSpawn line. What's wrong?
pawn Code:
stock SetPlayerHP(playerid, hp)
{
Player[playerid][pHealth] = hp;
return 1;
}
pawn Code:
SetPlayerHP(playerid, 100);