{"hash":"0x57B78C17","ns":"CFX","name":"GET_SEAT_PED_IS_USING","slug":"GET_SEAT_PED_IS_USING","official":true,"named":true,"luaName":"GetSeatPedIsUsing","game":"cfx","apiset":"server","returnType":"int","params":[{"name":"ped","type":"Ped","description":"the ped id"}],"returnsDescription":"Returns the seat index for specified `ped`, if the ped is not sitting in a vehicle it will return -3.","summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_SEAT_PED_IS_USING","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_SEAT_PED_IS_USING.md","snippets":{"lua":"local retval = GetSeatPedIsUsing(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x57b78c17, ped, Citizen.ResultAsInteger())","js":"const retval = GetSeatPedIsUsing(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x57b78c17', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x57b78c17, ped);","notes":[]}}