/* * Author: Glowbal * Get the cargo space left on object * * Arguments: * 0: Object * * Return value: * Cargo space left * * Public: No */ #include "script_component.hpp" params ["_vehicle"]; _vehicle getvariable [QGVAR(space), getNumber (configFile >> "CfgVehicles" >> typeof _vehicle >> QGVAR(space))];