{"hash":"0xDFC1E4A44C0324CA","ns":"CAMERA","name":"ATTACH_CAM_TO_PED_BONE","slug":"ATTACH_CAM_TO_PED_BONE","official":true,"named":true,"luaName":"AttachCamToPedBone","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"cam","type":"Cam"},{"name":"ped","type":"Ped"},{"name":"boneIndex","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"heading","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"boneIndex: https://github.com/femga/rdr3_discoveries/tree/master/boneNames"}],"examples":[],"aliases":[],"enums":["eAnimBoneTag"],"related":[],"build":"1207","gtaHash":"0x61A3DBA14AB7F411","gtaJhash":"0x506BB35C","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/ATTACH_CAM_TO_PED_BONE","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/ATTACH_CAM_TO_PED_BONE.md","snippets":{"lua":"AttachCamToPedBone(cam, ped, boneIndex, x, y, z, heading)","luaInvoke":"Citizen.InvokeNative(0xDFC1E4A44C0324CA, cam, ped, boneIndex, x, y, z, heading)","js":"AttachCamToPedBone(cam, ped, boneIndex, x, y, z, heading);","jsInvoke":"Citizen.invokeNative('0xDFC1E4A44C0324CA', cam, ped, boneIndex, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading);","csharp":"Function.Call((Hash)0xDFC1E4A44C0324CA, cam, ped, boneIndex, x, y, z, heading);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}