Skip to content

GetActorHealth

An actor’s health.

GetActorHealth(id)
Parameter Type
id number the actor

number - 0 .. 100; 0 for anything but an actor

SendClientMessage(pid, COLOUR_SERVER, GetEntityName(id) .. ": " .. GetActorHealth(id) .. " health")

SetActorHealth · IsActorDead · OnActorDamage · the NPC actors group of the index