{"hash":"0x5E214112806591EA","ns":"ENTITY","name":"_GET_OFFSET_FROM_ENTITY_BONE","slug":"_GET_OFFSET_FROM_ENTITY_BONE","official":false,"named":true,"luaName":"GetOffsetFromEntityBone","game":"rdr3","apiset":"client","returnType":"Vector3","params":[{"name":"entity","type":"Entity"},{"name":"boneIndex","type":"int"}],"summary":"Attaches scenario to bone with an offset _GET_I* - _GET_M*","descriptions":[{"source":"alloc8or","format":"text","body":"Attaches scenario to bone with an offset\n_GET_I* - _GET_M*"},{"source":"vorp","format":"text","body":"Return the offset from the entity for the selected bone index"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_GET_OFFSET_FROM_ENTITY_BONE","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_GET_OFFSET_FROM_ENTITY_BONE.md","snippets":{"lua":"local retval = GetOffsetFromEntityBone(entity, boneIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x5E214112806591EA, entity, boneIndex, Citizen.ResultAsVector())","js":"const retval = GetOffsetFromEntityBone(entity, boneIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x5E214112806591EA', entity, boneIndex, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x5E214112806591EA, entity, boneIndex);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}