GET_PED_BONE_MATRIX
Returns the bone matrix of the specified bone id. usefull for entity attachment
CFX
Signature
lua
GetPedBoneMatrix(PlayerPedId(), 0, forwardVector, rightVector, upVector, position)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| int | — | |
| Vector3* | — | |
| Vector3* | — | |
| Vector3* | — | |
| Vector3* | — |
Usage
lua
GetPedBoneMatrix(PlayerPedId(), 0, forwardVector, rightVector, upVector, position)Details
- Hash
- API set
- Source
- cfx
Source: cfx
