24.07.2015, 14:46
Quote:
Код:
if(issuerid != INVALID_PLAYER_ID && weaponid == 33 && bodypart == 9) { new Float:armour; SetPlayerArmour(playerid,-85); GetPlayerArmour(playerid, armour); if(playerid,armour == 0) SetPlayerHealth(playerid,-85); } |
Set the armour to -85(why?, it doesn't decrease it by 85, it SETS it to -85"if I'm not wrong")
then get his armour(which you just set "-85")
then i don't know what that lines means "if(playerid,armour == 0)"
Try to explain what're you trying to do and I'll help you