Gets a ped's health.
Print how much health the target ped has.
copy local ped = PedGetTargetPed(gPlayer) if PedIsValid(ped) then TextPrintString(PedGetName(ped)..": "..PedGetHealth(ped).." hp", 3, 2) end
local ped = PedGetTargetPed(gPlayer) if PedIsValid(ped) then TextPrintString(PedGetName(ped)..": "..PedGetHealth(ped).." hp", 3, 2) end