15.04.2010, 12:50
For anyone who doesn't want to read 4 pages of replies, the solutions are these:
Set the players health to 100 in OnPlayerDeath.
And the other solution was to use ClearAnimations, again in OnPlayerDeath.
Note: I'm not sure if these work, I'm only quoting them from the topic.
Set the players health to 100 in OnPlayerDeath.
Code:
public OnPlayerDeath(playerid, killerid, reason) { SetPlayerHealth(playerid, 100); }
Code:
public OnPlayerDeath(playerid, killerid, reason) { ClearAnimations(playerid); }