{"hash":"0x9CC8314DFEDE441E","ns":"ENTITY","name":"SET_ENTITY_ROTATION","slug":"SET_ENTITY_ROTATION","official":true,"named":true,"luaName":"SetEntityRotation","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"pitch","type":"float"},{"name":"roll","type":"float"},{"name":"yaw","type":"float"},{"name":"rotationOrder","type":"int"},{"name":"p5","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["eEulerRotationOrder"],"related":["0xE09CAF86C32CB48F"],"build":"1207","gtaHash":"0x8524A8B0171D5E07","gtaJhash":"0x0A345EFE","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_ROTATION","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_ROTATION.md","snippets":{"lua":"SetEntityRotation(entity, pitch, roll, yaw, rotationOrder, p5)","luaInvoke":"Citizen.InvokeNative(0x9CC8314DFEDE441E, entity, pitch, roll, yaw, rotationOrder, p5)","js":"SetEntityRotation(entity, pitch, roll, yaw, rotationOrder, p5);","jsInvoke":"Citizen.invokeNative('0x9CC8314DFEDE441E', entity, pitch + 0.0000001, roll + 0.0000001, yaw + 0.0000001, rotationOrder, p5);","csharp":"Function.Call((Hash)0x9CC8314DFEDE441E, entity, pitch, roll, yaw, rotationOrder, p5);","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."]}}