{"hash":"0x6E35C49C","ns":"CFX","name":"GET_VEHICLE_DOOR_STATUS","slug":"GET_VEHICLE_DOOR_STATUS","official":true,"named":true,"luaName":"GetVehicleDoorStatus","game":"cfx","apiset":"server","returnType":"int","params":[{"name":"vehicle","type":"Vehicle","description":"The target vehicle."},{"name":"doorIndex","type":"int","description":"Index of door to check (0-6)."}],"returnsDescription":"A number from 0 to 7.","summary":"Returns the open position of the specified door on the target vehicle.","descriptions":[{"source":"cfx","format":"md","body":"Returns the open position of the specified door on the target vehicle."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DOOR_STATUS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_DOOR_STATUS.md","snippets":{"lua":"local retval = GetVehicleDoorStatus(vehicle, doorIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x6e35c49c, vehicle, doorIndex, Citizen.ResultAsInteger())","js":"const retval = GetVehicleDoorStatus(vehicle, doorIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x6e35c49c', vehicle, doorIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x6e35c49c, vehicle, doorIndex);","notes":[]}}