{"hash":"0xCF2B9C0645C4651B","ns":"ENTITY","name":"SET_ENTITY_HEADING","slug":"SET_ENTITY_HEADING","official":true,"named":true,"luaName":"SetEntityHeading","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"heading","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0xC230DD956E2F5507"],"build":"1207","gtaHash":"0x8E2530AA8ADA980E","gtaJhash":"0xE0FF064D","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_HEADING","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_HEADING.md","snippets":{"lua":"SetEntityHeading(entity, heading)","luaInvoke":"Citizen.InvokeNative(0xCF2B9C0645C4651B, entity, heading)","js":"SetEntityHeading(entity, heading);","jsInvoke":"Citizen.invokeNative('0xCF2B9C0645C4651B', entity, heading + 0.0000001);","csharp":"Function.Call((Hash)0xCF2B9C0645C4651B, entity, 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."]}}