Можно свою систему урона реализовать с помощью помещения всех игроков в одну команду (SetPlayerTeam).
И сама система урона (очень простая):
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
if (damagedid != INVALID_PLAYER_ID) {
static
Float:health,
Float:armour,
Float:difference;
GetPlayerHealth(damagedid, health);
GetPlayerArmour(damagedid, armour);
if (armour > 0.0) {
difference = armour - amount;
}
if (difference >= 0.0) {
SetPlayerArmour(damagedid, armour - amount);
} else {
SetPlayerArmour(damagedid, 0.0);
SetPlayerHealth(damagedid, health + difference);
}
}
return 1;
}
Собственно, к этому не составит труда добавить проверку на количество здоровья.
И, естественно, здесь нужно проверять величину нанесённого урона, для защиты от читеров.