{"hash":"0xFF5791B7639C2A46","ns":"VEHICLE","name":"_GET_VEHICLE_TURRET_SEAT","slug":"_GET_VEHICLE_TURRET_SEAT","official":false,"named":true,"luaName":"GetVehicleTurretSeat","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"vehicle","type":"Vehicle"},{"name":"seatIndex","type":"int*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_VEHICLE_TURRET_SEAT","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_VEHICLE_TURRET_SEAT.md","snippets":{"lua":"local retval, seatIndex = GetVehicleTurretSeat(vehicle, seatIndex)","luaInvoke":"local retval, seatIndex = Citizen.InvokeNative(0xFF5791B7639C2A46, vehicle, Citizen.PointerValueIntInitialized(seatIndex), Citizen.ReturnResultAnyway())","js":"const [retval, seatIndex] = GetVehicleTurretSeat(vehicle, seatIndex);","jsInvoke":"const [retval, seatIndex] = Citizen.invokeNative('0xFF5791B7639C2A46', vehicle, Citizen.pointerValueIntInitialized(seatIndex), Citizen.returnResultAnyway());","csharp":"var seatIndex = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xFF5791B7639C2A46, vehicle, seatIndex);\n// seatIndex.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","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."]}}