{"hash":"0xDE73BC10","ns":"CFX","name":"GET_VEHICLE_TYPE_RAW","slug":"GET_VEHICLE_TYPE_RAW","official":true,"named":true,"luaName":"GetVehicleTypeRaw","game":"cfx","apiset":"client","returnType":"int","params":[{"name":"vehicle","type":"Vehicle","description":"The vehicle's entity handle."}],"returnsDescription":"Returns the vehicles model type","summary":"Returns the model type of the vehicle as defined by:","descriptions":[{"source":"cfx","format":"md","body":"Returns the model type of the vehicle as defined by:\n\n```cpp\nenum VehicleType\n{\n\tVEHICLE_TYPE_NONE = -1,\n\tVEHICLE_TYPE_CAR = 0,\n\tVEHICLE_TYPE_PLANE = 1,\n\tVEHICLE_TYPE_TRAILER = 2,\n\tVEHICLE_TYPE_QUADBIKE = 3,\n\tVEHICLE_TYPE_DRAFT = 4,\n\tVEHICLE_TYPE_SUBMARINECAR = 5,\n\tVEHICLE_TYPE_AMPHIBIOUS_AUTOMOBILE = 6,\n\tVEHICLE_TYPE_AMPHIBIOUS_QUADBIKE = 7,\n\tVEHICLE_TYPE_HELI = 8,\n\tVEHICLE_TYPE_BLIMP = 9,\n\tVEHICLE_TYPE_AUTOGYRO = 10,\n\tVEHICLE_TYPE_BIKE = 11,\n\tVEHICLE_TYPE_BICYCLE = 12,\n\tVEHICLE_TYPE_BOAT = 13,\n\tVEHICLE_TYPE_TRAIN = 14,\n\tVEHICLE_TYPE_SUBMARINE = 15,\n};\n```"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_TYPE_RAW","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_TYPE_RAW.md","snippets":{"lua":"local retval = GetVehicleTypeRaw(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0xde73bc10, vehicle, Citizen.ResultAsInteger())","js":"const retval = GetVehicleTypeRaw(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0xde73bc10', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xde73bc10, vehicle);","notes":[]}}