|Description:||Sets the relative ammunition level (compared to a full state) for a vehicle or unit.|
When setting the ammunition level to 1, the different VBS builds behave differently: In V1.x, no depleted magazines are added (only the current one is filled up), in V2.x, magazines are added until the initial level is reached.
If a vehicle has multiple turrets or weapons, then the command is applied to all of them. Once the level is set to 0, it cannot be filled up again (either by setting the level to 1, or using an ammunition truck).
|Syntax:||vehicle setVehicleAmmo value|
player setVehicleAmmo 0;
|See also:||getVehicleAmmo, setAmmoCargo|