LuaAPI.wiki
changeset 1658 65f6dd2bf801
parent 1657 899707a349b3
child 1678 fb8320e26e49
equal deleted inserted replaced
1657:899707a349b3 1658:65f6dd2bf801
   556 
   556 
   557 === <tt>!GetHogVoicepack(gearUid)</tt> ===
   557 === <tt>!GetHogVoicepack(gearUid)</tt> ===
   558 Returns the name of the voicepack of the team of the specified hedgehog gear.
   558 Returns the name of the voicepack of the team of the specified hedgehog gear.
   559 
   559 
   560 === <tt>!GetAmmoCount(gearUid, ammoType)</tt> ===
   560 === <tt>!GetAmmoCount(gearUid, ammoType)</tt> ===
   561 Returns the ammo count of the specified ammo type for the specified hedgehog gear.
   561 Returns the ammo count of the specified ammo type for the specified hedgehog gear. If infinite, returns `AMMO_INFINITE`.
   562 
   562 
   563 === <tt>!GetAmmoTimer(gearUid, ammoType)</tt> (0.9.25) ===
   563 === <tt>!GetAmmoTimer(gearUid, ammoType)</tt> (0.9.25) ===
   564 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.
   564 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.
   565 
   565 
   566 Example:
   566 Example: