The Lab
PED native

_SET_PED_HEALTH_CONFIG

returns void2 paramsbuild 1207

Applies the health configuration configHash to ped.

Signature

C
void _SET_PED_HEALTH_CONFIG(Ped ped, Hash configHash); // 0xF6B82FCE03B43A37 b1207

Parameters

#NameType
1pedPed
2configHashHash

Facts

Facts about _SET_PED_HEALTH_CONFIG
Name
_SET_PED_HEALTH_CONFIG
Hash
0xF6B82FCE03B43A37
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF6B82FCE03B43A37, -- _SET_PED_HEALTH_CONFIG
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash configHash
)
JavaScript
Citizen.invokeNative("0xF6B82FCE03B43A37", // _SET_PED_HEALTH_CONFIG
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash configHash
);
C#
Function.Call((Hash)0xF6B82FCE03B43A37, // _SET_PED_HEALTH_CONFIG
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash configHash
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.