# HG changeset patch
# User Wuzzy
# Date 1558874285 -3600
# Node ID 806491e9ef6060738f91cf1c5a9765a54e467cbb
# Parent 7891546b4ff89214a1fe099d73c0682b78c3c389
LuaGameplay: Delay of 9999
diff -r 7891546b4ff8 -r 806491e9ef60 LuaGameplay.wiki
--- a/LuaGameplay.wiki Fri May 24 20:52:38 2019 +0100
+++ b/LuaGameplay.wiki Sun May 26 13:38:05 2019 +0100
@@ -144,7 +144,7 @@
count, prob, delay, numberInCrate = GetAmmo(amGrenade) -- Get ammo settings of amGrenade
=== !SetAmmoDelay(ammoType, delay) ===
-Changes the delay of a specified [AmmoTypes Ammo Type].
+Changes the delay of a specified [AmmoTypes Ammo Type]. If `delay` is set to `9999`, the ammo type is disabled indefinitely.
=== !SetAmmoTexts(ammoType, name, caption, description [, showExtra]) (0.9.23) ===
Allows you to overwrite the displayed name and tooltip descriptions of a given ammo type. This function must only be called either inside the `onGameStart` callback function, or after the engine has called `onGameStart`.