RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_OBJECT_FRAGMENT_COUNT

_GET_OBJECT_FRAGMENT_COUNT

Returns the number of breakable fragments (indexed sections) defined for the specified object. These fragments can be triggered individually using natives that target object fracture indices. eg: a box of bottles can have multiple fragments that can be broken individually.

OBJECTBuild 1207

Signature

lua
GetObjectFragmentCount(object)
-- returns int

Parameters

NameTypeDescription
Object—

Usage

lua
GetObjectFragmentCount(object)

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