{"hash":"0xAAACF33CBF9B990A","ns":"OBJECT","name":"_DAMAGE_OBJECT_FRAGMENT_BY_INDEX","slug":"_DAMAGE_OBJECT_FRAGMENT_BY_INDEX","official":false,"named":true,"luaName":"DamageObjectFragmentByIndex","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"object","type":"Object"},{"name":"index","type":"int"}],"summary":"Damages or breaks a specific predefined fragment/section of an object.","descriptions":[{"source":"alloc8or","format":"text","body":"Damages or breaks a specific predefined fragment/section of an object.\nThe index selects one of the object's internal fracture sections. Different index values cause different fragments to detach or break.\nPair with _GET_OBJECT_FRAGMENT_COUNT to determine the valid index range."},{"source":"vorp","format":"text","body":"Damages or breaks a specific predefined fragment/section of an object using the provided fragment index.\nUnlike generic damage systems, this native appears to directly target one of the object's internal fracture sections. The index parameter determines which part of the object is damaged or broken.\nDifferent index values cause different fragments of the object to detach or break."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_DAMAGE_OBJECT_FRAGMENT_BY_INDEX","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_DAMAGE_OBJECT_FRAGMENT_BY_INDEX.md","snippets":{"lua":"DamageObjectFragmentByIndex(object, index)","luaInvoke":"Citizen.InvokeNative(0xAAACF33CBF9B990A, object, index)","js":"DamageObjectFragmentByIndex(object, index);","jsInvoke":"Citizen.invokeNative('0xAAACF33CBF9B990A', object, index);","csharp":"Function.Call((Hash)0xAAACF33CBF9B990A, object, index);","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."]}}