---
name: "vehicleCargoEnabled"
type: command
status: ok
groups: ["Vehicle in Vehicle Transport"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/vehicleCargoEnabled
revid: 349518
updated: 2023-11-08T17:15:53Z
---

# vehicleCargoEnabled

*Command · Vehicle in Vehicle Transport · Arma 3 v1.62*

## Description

Check if the vehicle has enabled transporting other vehicles or not.

## Syntax

```sqf
vehicleCargoEnabled vehicle
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)

**Returns:** [Boolean](../topics/Boolean.md) - returns true if the vehicle has enabled transporting other vehicles, and false if the vehicle has not enabled transporting other vehicles

## Examples

### Example 1

Blackfish (Vehicle Transport) with given variable name blackfish

```sqf
_canTransportVehicles = vehicleCargoEnabled blackfish; //returns true
```

## See also

Arma 3: Vehicle in Vehicle Transport · [canVehicleCargo](../commands/canVehicleCargo.md) · [setVehicleCargo](../commands/setVehicleCargo.md) · [enableVehicleCargo](../commands/enableVehicleCargo.md) · [getVehicleCargo](../commands/getVehicleCargo.md) · [isVehicleCargo](../commands/isVehicleCargo.md)

<sub>Source: [BI Community Wiki — vehicleCargoEnabled](https://community.bistudio.com/wiki/vehicleCargoEnabled) (revision 349518).</sub>
