03.05.2016, 18:52
How do I detect that what was the bodypart which last got damaged before the player died?
new last_bodypart[MAX_PLAYERS];
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
last_bodypart[playerid] = bodypart;
}