{"hash":"0xE62754D09354F6CF","ns":"TASK","name":"_GET_DRIVING_SEAT","slug":"_GET_DRIVING_SEAT","official":false,"named":true,"luaName":"GetDrivingSeat","game":"rdr3","apiset":"client","returnType":"Any","params":[{"name":"p0","type":"Any"}],"summary":"Returns the seat index currently set as the driving seat for the specified vehicle vehicle: The vehicle to query.","descriptions":[{"source":"vorp","format":"text","body":"Returns the seat index currently set as the driving seat for the specified vehicle vehicle: The vehicle to query. Returns: Seat index (default = -1 for driver seat, custom index if changed with SET_DRIVING_SEAT)"}],"examples":[],"aliases":[],"enums":[],"related":["0x4BA972D0E5AD8122"],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_GET_DRIVING_SEAT","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_GET_DRIVING_SEAT.md","snippets":{"lua":"local retval = GetDrivingSeat(p0)","luaInvoke":"local retval = Citizen.InvokeNative(0xE62754D09354F6CF, p0, Citizen.ResultAsInteger())","js":"const retval = GetDrivingSeat(p0);","jsInvoke":"const retval = Citizen.invokeNative('0xE62754D09354F6CF', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xE62754D09354F6CF, p0);","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."]}}