{"hash":"0x93C8B64DEB84728C","ns":"PED","name":"GET_PED_SOURCE_OF_DEATH","slug":"GET_PED_SOURCE_OF_DEATH","official":true,"named":true,"luaName":"GetPedSourceOfDeath","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the entity that killed the ped It is best to check if the Ped is dead before asking for its killer.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the entity that killed the ped\n\nIt is best to check if the Ped is dead before asking for its killer."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x93C8B64DEB84728C","gtaJhash":"0x84ADF9EB","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/GET_PED_SOURCE_OF_DEATH","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_PED_SOURCE_OF_DEATH.md","snippets":{"lua":"local retval = GetPedSourceOfDeath(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x93C8B64DEB84728C, ped, Citizen.ResultAsInteger())","js":"const retval = GetPedSourceOfDeath(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x93C8B64DEB84728C', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x93C8B64DEB84728C, ped);","notes":[]}}