{"name":"setMaxLoad","title":"setMaxLoad","type":"command","url":"https://community.bistudio.com/wiki/setMaxLoad","revid":309142,"updated":"2022-05-03T11:53:13Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"2.08"},"since":"arma3 2.08","arma3_since":"2.08","locality":{"server_exec":true},"description":"Sets maximum load limit for a uniform/vest/backpack containers, vehicle cargo, supply boxes and weapon holders. In MP this command should be executed on the server and will persist on given container for JIP.\n\n> [!NOTE]\n> Cannot be set on a unit, as unit max load value is static config type","syntaxes":[{"syntax":"container setMaxLoad maxLoadValue","params":[{"name":"container","type":"Object","description":"uniform/vest/backpack container, vehicle cargo, supply box, weapon holder","type_expr":"Object"},{"name":"maxLoadValue","type":"Number","description":"max load limit","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"container"},"right":{"text":"maxLoadValue"}}],"examples":[{"code":["_yaMum setMaxLoad _maxLoad;"]}],"see_also":["maxLoad","load","loadAbs","loadBackpack","loadUniform","loadVest","getContainerMaxLoad"]}