RDR3 match
PED::GET_PED_CAUSE_OF_DEATH
0x4D2D23A6E9001BD5 ·RVA 0x04BCC0F0
Signature
Hash GET_PED_CAUSE_OF_DEATH(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
Hash
Call it
// PED::GET_PED_CAUSE_OF_DEATH
auto result = invoke<Hash>(0x4D2D23A6E9001BD5, ped);// PED::GET_PED_CAUSE_OF_DEATH
uint result = Function.Call<uint>((Hash)0x4D2D23A6E9001BD5, ped);-- PED::GET_PED_CAUSE_OF_DEATH
local result = Citizen.InvokeNative(0x4D2D23A6E9001BD5, ped)// PED::GET_PED_CAUSE_OF_DEATH
const result = Citizen.invokeNative("0x4D2D23A6E9001BD5", ped);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.