22.01.2015, 12:16
Like this?
pawn Код:
new LastShotPlayer = INVALID_PLAYER_ID;
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
LastShotPlayer = playerid;
}
return 1;
}