18.01.2017, 12:42
Why is this killing the player instantly?
Код:
if(issuerid != INVALID_PLAYER_ID && weaponid == 24 && (bodypart == 9)) { //SetPlayerArmour(playerid, -armour); SetPlayerHealth(playerid, -2); SendClientMessage(playerid, COLOR_YELLOW, "DEBUG: Ai fost lovit in cap."); } if(issuerid != INVALID_PLAYER_ID && weaponid == 24 && (bodypart == 3)) { //SetPlayerArmour(playerid, -armour); SetPlayerHealth(playerid, -50); SendClientMessage(playerid, COLOR_YELLOW, "DEBUG: Ai fost lovit in piept."); }