RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _DAMAGE_OBJECT_FRAGMENT_BY_INDEX

_DAMAGE_OBJECT_FRAGMENT_BY_INDEX

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.

OBJECTBuild 1207

Signature

lua
DamageObjectFragmentByIndex(object, 0)
-- returns void

Parameters

NameTypeDescription
Object—
int—

Usage

lua
DamageObjectFragmentByIndex(object, 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details