setVehicleAmmo

From Bohemia Interactive Community
Revision as of 17:35, 4 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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