_DAMAGE_OBJECT_FRAGMENT_BY_INDEX
Damages or breaks a specific predefined fragment/section of an object.
0xAAACF33CBF9B990ADamageObjectFragmentByIndexSignature
void _DAMAGE_OBJECT_FRAGMENT_BY_INDEX(Object object, int index);Parameters
| Name | Type | Description |
|---|---|---|
object | Object | — |
index | int | — |
Returns void
Description
Damages or breaks a specific predefined fragment/section of an object.
The index selects one of the object's internal fracture sections. Different index values cause different fragments to detach or break.
Pair with _GET_OBJECT_FRAGMENT_COUNT to determine the valid index range.
Damages or breaks a specific predefined fragment/section of an object using the provided fragment index.
Unlike 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.
Different index values cause different fragments of the object to detach or break.
Usage
DamageObjectFragmentByIndex(object, index)
-- always works, by hash
Citizen.InvokeNative(0xAAACF33CBF9B990A, object, index)JavaScript and C#
DamageObjectFragmentByIndex(object, index);
// by hash
Citizen.invokeNative('0xAAACF33CBF9B990A', object, index);Function.Call((Hash)0xAAACF33CBF9B990A, object, index);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.