{"hash":"0x194D877FC5597B7D","ns":"WEAPON","name":"SET_VEHICLE_WEAPON_HEADING","slug":"SET_VEHICLE_WEAPON_HEADING","official":true,"named":true,"luaName":"SetVehicleWeaponHeading","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"vehicle","type":"Vehicle"},{"name":"seatIndex","type":"int"},{"name":"heading","type":"float"},{"name":"p3","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/SET_VEHICLE_WEAPON_HEADING","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/SET_VEHICLE_WEAPON_HEADING.md","snippets":{"lua":"SetVehicleWeaponHeading(vehicle, seatIndex, heading, p3)","luaInvoke":"Citizen.InvokeNative(0x194D877FC5597B7D, vehicle, seatIndex, heading, p3)","js":"SetVehicleWeaponHeading(vehicle, seatIndex, heading, p3);","jsInvoke":"Citizen.invokeNative('0x194D877FC5597B7D', vehicle, seatIndex, heading + 0.0000001, p3);","csharp":"Function.Call((Hash)0x194D877FC5597B7D, vehicle, seatIndex, heading, p3);","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."]}}