{"hash":"0xAC2767ED8BDFAB15","ns":"ENTITY","name":"SET_ENTITY_HEALTH","slug":"SET_ENTITY_HEALTH","official":true,"named":true,"luaName":"SetEntityHealth","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"healthAmount","type":"int"},{"name":"entityKilledBy","type":"Entity"}],"summary":"Sets the entity's health.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the entity's health. healthAmount sets the health value to that, and sets the maximum health core value. Setting healthAmount to 0 will kill the entity. entityKilledBy parameter can also be 0"}],"examples":[],"aliases":[],"enums":[],"related":["0x82368787EA73C0F7","0x835F131E7DC8F97A"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_HEALTH","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_HEALTH.md","snippets":{"lua":"SetEntityHealth(entity, healthAmount, entityKilledBy)","luaInvoke":"Citizen.InvokeNative(0xAC2767ED8BDFAB15, entity, healthAmount, entityKilledBy)","js":"SetEntityHealth(entity, healthAmount, entityKilledBy);","jsInvoke":"Citizen.invokeNative('0xAC2767ED8BDFAB15', entity, healthAmount, entityKilledBy);","csharp":"Function.Call((Hash)0xAC2767ED8BDFAB15, entity, healthAmount, entityKilledBy);","notes":[]}}