stock bool StartBleeding(int client)
{
int health = GetClientHealth(client) - GetConVarInt(g_hBleedingHealth);
//Допустим, у игрока сейчас 5 ХП: 5 - 5 = 0. health = 0.
if (i_bleeding[client] > 0)
{
i_bleeding[client]--;
PrintHintText(client, "<font color='#ff0000'>Кровотечение через %d</font>", i_bleeding[client]);
//Первый "тик" таймера, а health уже < 1 - убивает, хотя время и остаётся.
if (health < 1) KillPlayer(client);
}
else if (i_bleeding[client] == 0 && health <= GetConVarInt(g_hBleedingBorder))
{
SetEntityHealth(client, health);
i_bleeding[client] = GetConVarInt(g_hBleedingTime);
}
}