# HG changeset patch # User Wuzzy # Date 1478700920 0 # Node ID eaafb853db575141c940e826c1fb7cc3081d5573 # Parent 714fb7f716408188de522d10fc7b22a5e054bb7b LuaAPI: Add GetAmmoName diff -r 714fb7f71640 -r eaafb853db57 LuaAPI.wiki --- a/LuaAPI.wiki Sun Oct 02 11:20:40 2016 +0100 +++ b/LuaAPI.wiki Wed Nov 09 14:15:20 2016 +0000 @@ -757,6 +757,8 @@ *Note:* The effectiveness of this function may be limited due to problems with `gfPerHogAmmo` in Lua scripting. +=== !GetAmmoName(ammoType) (0.9.23) === +Returns the localized name for the specified `ammoType`. === !SetHealth(gearUid, health) === Sets the health of the specified gear. The “health” of a gear can refer to many things, depending on the gear type.