Skip to content

IsPlayerInjured

Whether the player has an injury - anywhere, or on one part.

IsPlayerInjured(pid [, part])
Parameter Type
pid number the player
part number a body part 1 .. 6; without it, any part (optional)

boolean

if IsPlayerInjured(pid, BODY_PART_ARM_RIGHT) then SendClientMessage(pid, COLOUR_RED, "Your sword arm is hurt.") end

GetPlayerInjuries · GetBodyPartName · the Vitals, stats and skills group of the index