Difference between revisions of "ScriptEvent:useAmmo"
From Mod Wiki
(No difference)
|
Latest revision as of 11:14, 5 November 2007
Parameters
integer type -- Index of the ammoDef. integer amount -- Amount of ammo to use.
Result
None.
Supported By
idWeapon
Comments
- If the player does not have enough ammo to cover the reduction, the amount to remove will be reduced to the ammo that they have.
Functionality
Removes ammo from the player's inventory, of the specified amount and type.