When setting health for a player ped, the game will clamp the health value to ensure it does not exceed the maximum health. This maximum health can be retrieved by calling GET_PED_MAX_HEALTH. It can also be modified by calling SET_PED_MAX_HEALTH.
When setting the health for non-player peds or entities, the maximum health will be increased if the new health value exceeds the current maximum.
Default health for male peds is 200, for female peds it is 175.
Added parameters
- inflictor: The handle for the entity that caused the damage.