diff --git a/docs/wiki/framework/cargo-framework.md b/docs/wiki/framework/cargo-framework.md index 99b0ef3de1..68b28f7fa7 100644 --- a/docs/wiki/framework/cargo-framework.md +++ b/docs/wiki/framework/cargo-framework.md @@ -16,16 +16,18 @@ version: ### 1.1 Preparing a vehicle for ACE3 cargo +{% raw %} ```cpp class CfgVehicles { class yourVehicleBaseClass { ace_cargo_space = 4; // Cargo space your vehicle has ace_cargo_hasCargo = 1; // Enables cargo to be loaded inside the vehicle (1-yes, 0-no) - ace_cargo_loadmasterTurrets = {{1}}; // If vehicle inherits from "Air", you can set this attribute. + ace_cargo_loadmasterTurrets[] = {{1}}; // If vehicle inherits from "Air", you can set this attribute. // When sitting in the turret paths you define here, you can paradrop cargo items. By default, pilots and co-pilots can paradrop cargo items. }; }; ``` +{% endraw %} ### 1.2 Making an object loadable