a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Client / PedBoneCollection
Represents a collection of bones for a pedestrian (Ped) entity. Extends the functionality of EntityBoneCollection specifically for Ped entities.
PedBoneCollection
new PedBoneCollection(
owner
):PedBoneCollection
• owner: Entity
EntityBoneCollection
.constructor
client/models/EntityBoneCollection.ts:7
get
Core():PedBone
client/models/PedBoneCollection.ts:12
hasBone(
name
):boolean
Checks if an entity has a specified bone by its name.
• name: string
The name of the bone to check for.
boolean
True if the bone exists, false otherwise.