LuaAPI: Add GetAmmoName
authorWuzzy
Wed, 09 Nov 2016 14:15:20 +0000
changeset 911 eaafb853db57
parent 910 714fb7f71640
child 912 ea13b02292c5
LuaAPI: Add GetAmmoName
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.
 
+=== <tt>!GetAmmoName(ammoType)</tt> (0.9.23) ===
+Returns the localized name for the specified `ammoType`.
 
 === <tt>!SetHealth(gearUid, health)</tt> ===
 Sets the health of the specified gear. The “health” of a gear can refer to many things, depending on the gear type.