fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Client / PedBoneCollection

Class: PedBoneCollection

Represents a collection of bones for a pedestrian (Ped) entity. Extends the functionality of EntityBoneCollection specifically for Ped entities.

PedBoneCollection

Extends

Constructors

new PedBoneCollection()

new PedBoneCollection(owner): PedBoneCollection

Parameters

owner: Entity

Returns

PedBoneCollection

Inherited from

EntityBoneCollection.constructor

Defined in

client/models/EntityBoneCollection.ts:7

Accessors

Core

get Core(): PedBone

Returns

PedBone

Overrides

EntityBoneCollection.Core

Defined in

client/models/PedBoneCollection.ts:12

Methods

hasBone()

hasBone(name): boolean

Checks if an entity has a specified bone by its name.

Parameters

name: string

The name of the bone to check for.

Returns

boolean

True if the bone exists, false otherwise.

Inherited from

EntityBoneCollection.hasBone

Defined in

client/models/EntityBoneCollection.ts:19