LuaGameplay.wiki
changeset 2188 a6f98b1311f6
parent 2106 2835503f0144
child 2232 09bf7a4d5411
equal deleted inserted replaced
2187:64d9eab4357c 2188:a6f98b1311f6
   121 
   121 
   122 Parameters:
   122 Parameters:
   123 
   123 
   124  * `ammoType`: Ammo type to be set
   124  * `ammoType`: Ammo type to be set
   125  * `count`: Initial ammo count. 9 = infinite
   125  * `count`: Initial ammo count. 9 = infinite
   126  * `probability`: Crate probability. Max. value is 9. 0 = never
   126  * `probability`: Crate probability. Value between 0 (never) and 8 (highest probability)
   127  * `delay`: Number of rounds this ammo is delayed
   127  * `delay`: Number of rounds this ammo is delayed
   128  * `numberInCrate`: Amount of ammo in a crate
   128  * `numberInCrate`: Amount of ammo in a crate
   129 
   129 
   130 Example:
   130 Example:
   131 
   131