{"hash":"0x970339EFA4FDE518","ns":"MISC","name":"_GET_NUMBER_OF_BULLETS_IMPACTED_ENTITY","slug":"_GET_NUMBER_OF_BULLETS_IMPACTED_ENTITY","official":false,"named":true,"luaName":"GetNumberOfBulletsImpactedEntity","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"entity","type":"Entity"},{"name":"p1","type":"BOOL"},{"name":"p2","type":"BOOL"}],"summary":"Returns the number of bullets that just impacted the entity.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the number of bullets that just impacted the entity.\nResearch notes this does not appear to work for arrows or throwable projectiles."},{"source":"vorp","format":"text","body":"returns the number of bullets that hit the entity"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_NUMBER_OF_BULLETS_IMPACTED_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_NUMBER_OF_BULLETS_IMPACTED_ENTITY.md","snippets":{"lua":"local retval = GetNumberOfBulletsImpactedEntity(entity, p1, p2)","luaInvoke":"local retval = Citizen.InvokeNative(0x970339EFA4FDE518, entity, p1, p2, Citizen.ResultAsInteger())","js":"const retval = GetNumberOfBulletsImpactedEntity(entity, p1, p2);","jsInvoke":"const retval = Citizen.invokeNative('0x970339EFA4FDE518', entity, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x970339EFA4FDE518, entity, p1, p2);","notes":["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."]}}