Skip to content

GetPlayerBleeding

How fast the player is bleeding, in health per second.

A stab or a slash opens a bleed for [combat] bleed_seconds; 0 means not bleeding. A bleed-out is a death by the last attacker. A bandage stops it, so do HealPlayer and the respawn.

GetPlayerBleeding(pid)
Parameter Type
pid number the player

number - health lost per second; 0 = not bleeding

if GetPlayerBleeding(pid) > 0.5 then GameText(pid, "You are bleeding heavily", 2000, GAMETEXT_LOWER) end

IsPlayerBleeding · HealPlayer · the Vitals, stats and skills group of the index