Zombie Loots is an Addon for Zombie Plague. After a zombie died he is lootable by humans by holding the +use Button next to the dead body. There is a defined chance that you can get ammo packs.
// Prefix for Messages
#define LOOT_PREFIX \»[Zombie Loots]\»
// Time in Seconds how long a player has \»to loot\» a dead body.
#define LOOT_TIME 6.5
// Time in Seconds how long a dead body can be looted
#define LOOT_EXISTENCE 25.0
// Size in Units how big the Dummy Entity is
#define LOOT_SIZE 35.0
// Radius to search for dead players
#define LOOT_RADIUS 2.0
// Chance in percent to recieve a loot
#define LOOT_CHANCE 50.0
// Maximum amount of Ammo Packs you can get
#define LOOT_MAX_AMMO 12