{"hash":"0x73B6F907B913C860","ns":"PED","name":"_SET_TOTAL_PED_DAMAGE_FROM_AI","slug":"_SET_TOTAL_PED_DAMAGE_FROM_AI","official":false,"named":true,"luaName":"SetTotalPedDamageFromAi","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"totalDamage","type":"float"}],"summary":"_SET_W(EAPON?)*","descriptions":[{"source":"alloc8or","format":"text","body":"_SET_W(EAPON?)*"}],"examples":[],"aliases":[],"enums":[],"related":["0x92C8EACA29F6BED6"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_TOTAL_PED_DAMAGE_FROM_AI","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_TOTAL_PED_DAMAGE_FROM_AI.md","snippets":{"lua":"SetTotalPedDamageFromAi(ped, totalDamage)","luaInvoke":"Citizen.InvokeNative(0x73B6F907B913C860, ped, totalDamage)","js":"SetTotalPedDamageFromAi(ped, totalDamage);","jsInvoke":"Citizen.invokeNative('0x73B6F907B913C860', ped, totalDamage + 0.0000001);","csharp":"Function.Call((Hash)0x73B6F907B913C860, ped, totalDamage);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}