_SET_MIN_PED_HEALTH_THRESHOLD
Sets the minimum health threshold of ped.
Signature
void _SET_MIN_PED_HEALTH_THRESHOLD(Ped ped, float healthAmount); // 0x7883AA809DF43D98 b1355Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | healthAmount | float |
Facts
| Name | _SET_MIN_PED_HEALTH_THRESHOLD |
|---|---|
| Hash | 0x7883AA809DF43D98 |
| Namespace | |
| Returns | void |
| Game build | 1355 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x7883AA809DF43D98, -- _SET_MIN_PED_HEALTH_THRESHOLD
PlayerPedId(), -- Ped ped
0.0 -- float healthAmount
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x7883AA809DF43D98", // _SET_MIN_PED_HEALTH_THRESHOLD
PlayerPedId(), // Ped ped
0.0 // float healthAmount
);Function.Call((Hash)0x7883AA809DF43D98, // _SET_MIN_PED_HEALTH_THRESHOLD
API.PlayerPedId(), // Ped ped
0.0f // float healthAmount
);Related PED natives
- _SET_PED_HEALTH_CONFIG
- SET_PED_MAX_HEALTH
- SET_PED_MIN_MOVE_BLEND_RATIO
- SET_PED_VISUAL_FIELD_MIN_ANGLE
- _SET_META_PED_TAG
- _SET_META_PED_WEARINESS
- _SET_ACTIVE_META_PED_COMPONENTS_UPDATED
- _SET_AMBIENT_PED_DENSITY_MULTIPLIER_THIS_FRAME
- _SET_DEFENSE_MODIFIER_FOR_PED
- _SET_HEALTH_RECHARGE_MULTIPLIER
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.