# HG changeset patch # User Wuzzy # Date 1543888242 0 # Node ID 65f6dd2bf801296dee220a4eb2fae02e002edb42 # Parent 899707a349b3fef3c5ea5bda0c5d8a8259b6f967 LuaAPI: Add AMMO_INFINITE diff -r 899707a349b3 -r 65f6dd2bf801 LuaAPI.wiki --- a/LuaAPI.wiki Tue Dec 04 01:09:27 2018 +0000 +++ b/LuaAPI.wiki Tue Dec 04 01:50:42 2018 +0000 @@ -558,7 +558,7 @@ Returns the name of the voicepack of the team of the specified hedgehog gear. === !GetAmmoCount(gearUid, ammoType) === -Returns the ammo count of the specified ammo type for the specified hedgehog gear. +Returns the ammo count of the specified ammo type for the specified hedgehog gear. If infinite, returns `AMMO_INFINITE`. === !GetAmmoTimer(gearUid, ammoType) (0.9.25) === Returns the currently configured ammo timer (in milliseconds) for the given hedgehog gear and specified ammo type. This is the timer which is set by the player by using the timer keys (1-5). For ammo types for which the timer cannot be changed, `nil` is returned.