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 / EntityBoneCollection

Class: EntityBoneCollection

Represents a collection of bones associated with an entity.

Extended by

Constructors

new EntityBoneCollection()

new EntityBoneCollection(owner): EntityBoneCollection

Parameters

owner: Entity

Returns

EntityBoneCollection

Defined in

client/models/EntityBoneCollection.ts:7

Accessors

Core

get Core(): EntityBone

Returns

EntityBone

Defined in

client/models/EntityBoneCollection.ts:9

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.

Defined in

client/models/EntityBoneCollection.ts:19