Quote:
Originally Posted by Eth
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) { if(issuerid != INVALID_PLAYER_ID && weaponid == 23 || weaponid == 24 || weaponid == 33 || weaponid == 22 || weaponid == 34 && bodypart == 7 || bodypart == 8) { SCM(playerid, COLOR_LIGHTRED, "DEBUG: LEGS."); } return 1; }
try this one
|
Where is different? return 1 = true.