setVehicleAmmo

From Bohemia Interactive Community
Revision as of 21:38, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


object setVehicleAmmo value


Operand types:

object: Object

value: Number

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

Description:

Sets how much ammunition (compared to a full state defined by the vehicle type) the vehicle has.

The value ranges from 0 to 1.


Example:

player setVehicleAmmo 0