{"hash":"0x16FFE42AB2D2DC59","ns":"PED","name":"GET_PED_CAUSE_OF_DEATH","slug":"GET_PED_CAUSE_OF_DEATH","official":true,"named":true,"luaName":"GetPedCauseOfDeath","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the hash of the weapon/model/object that killed the ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the hash of the weapon/model/object that killed the ped."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x16FFE42AB2D2DC59","gtaJhash":"0x63458C27","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/GET_PED_CAUSE_OF_DEATH","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_PED_CAUSE_OF_DEATH.md","snippets":{"lua":"local retval = GetPedCauseOfDeath(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x16FFE42AB2D2DC59, ped, Citizen.ResultAsInteger())","js":"const retval = GetPedCauseOfDeath(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x16FFE42AB2D2DC59', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x16FFE42AB2D2DC59, ped);","notes":[]}}