08.12.2014, 13:20
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID)
{
if(weaponid == 0)
{
new level = GetPlayerWantedLevel(issuerid);
SetPlayerWantedLevel(issuerid, (level+1))
}
}
return 1;
}