Description: boneIndex: https://github.com/femga/rdr3_discoveries/tree/master/boneNames
| Property | Value |
|---|---|
| Native Name | ATTACH_CAM_TO_PED_BONE |
| Hash | 0xDFC1E4A44C0324CA |
| Return Type | void |
| Build | 1207 |
| Parameters | cam (Cam), ped (Ped), boneIndex (int), x (float), y (float), z (float), heading (BOOL) |
Parameters
cam(Cam)ped(Ped)boneIndex(int)x(float)y(float)z(float)heading(BOOL)
Usage
Lua (Direct):
AttachCamToPedBone(cam, ped, boneIndex, x, y, z, heading)
Lua (Hash):
Citizen.InvokeNative(0xDFC1E4A44C0324CA, cam, ped, boneIndex, x, y, z, heading)