Gets a ped's health.

Arguments

Results

Example

Print how much health the target ped has.

local ped = PedGetTargetPed(gPlayer)

if PedIsValid(ped) then
	TextPrintString(PedGetName(ped)..": "..PedGetHealth(ped).." hp", 3, 2)
end