Setting up zombies

It's pretty easy to set up the current zone's zombie data.

zombie = {
    count = 3, -- zombies/client. If every zombie died they will respawn with the same amount
    damage = 10, -- zombie's damage
    health = 250, -- zombie's health
    armour = 100, -- zombie's armour - Max is 100
    loot = false, -- if true, you can loot the zombie with ox_target, if false you will get the reward items as soon as you kill them
    canDieFromHeadshot = true, -- if false, zombies can't die from headshot, it gets as a single torso shot.
    itemRewards = { -- {name = 'name', count = count, chance = value between 0 and 10}
        {name = 'burger', count = 1, chance = 6},
        {name = 'money', count = 5, chance = 9},
        {name = 'water', count = 1, chance = 2}
    }
}

Last updated

Was this helpful?