RDR3 match
PED::GET_PED_SOURCE_OF_DEATH
0x147B8D736C3749B2 ·RVA 0x04BCD860
Signature
Entity GET_PED_SOURCE_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
Entity
Call it
// PED::GET_PED_SOURCE_OF_DEATH
auto result = invoke<Entity>(0x147B8D736C3749B2, ped);// PED::GET_PED_SOURCE_OF_DEATH
int result = Function.Call<int>((Hash)0x147B8D736C3749B2, ped);-- PED::GET_PED_SOURCE_OF_DEATH
local result = Citizen.InvokeNative(0x147B8D736C3749B2, ped)// PED::GET_PED_SOURCE_OF_DEATH
const result = Citizen.invokeNative("0x147B8D736C3749B2", 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.