Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.debug = false
- Config.zombieModels = {`u_m_y_zombie_01`, `u_m_m_prolsec_01`, `ig_orleans`, `s_m_y_prisoner_01`, `s_m_y_marine_03`, `s_m_y_marine_01`, `s_m_y_mime`}
- Config.LootDistance = 3.0 -- leave it if you don't use the target method to get the loot
- --[[
- note: make sure the zone name-s are not matching! you cant set two ['zone_name'], make sure to change it.
- example zone:
- ['zone_name'] = {
- type = 'box', -- avaible options: box, sphere
- boxData = {
- coords = {
- {
- position = vec3(1,1,1),
- size = vec3(1,1,1),
- rotation = 45
- }
- },
- },
- sphereData = {
- coords = {
- {
- position = vec3(1,1,1),
- radius = 50.0
- },
- }
- },
- blip = { -- you can find more information at https://docs.fivem.net/docs/game-references/blips/
- sprite = 84,
- display = 4,
- scale = 1.0,
- colour = 1,
- text = 'Zombie zone',
- radius = {
- colour = 1,
- alpha = 150 -- value between 0 and 255
- }
- },
- zombie = {
- count = 15, -- 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 = true, -- 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 = 1},
- {name = 'money', count = 5, chance = 5},
- {name = 'water', count = 1, chance = 6}
- }
- }
- }
- ]]
- Config.Labels = {
- ['inventory'] = {
- label = 'Zombie loot'
- },
- ['target'] = {
- label = 'Loot zombie',
- icon = 'fa-solid fa-skull' -- Name of a Font Awesome icon. (https://fontawesome.com/icons)
- }
- }
- Config.Locales = {
- ['onEnter'] = {
- title = 'Information',
- description = 'You have entered into a zombie zone!',
- type = 'success', -- avaible types : inform, success, error
- icon = 'skull' -- Name of a Font Awesome icon. (https://fontawesome.com/icons)
- },
- ['onEnterWithVehicle'] = {
- title = 'Information',
- description = 'You can not come in with a vehicle!',
- type = 'error', -- avaible types : inform, success, error
- icon = 'skull' -- Name of a Font Awesome icon. (https://fontawesome.com/icons)
- },
- ['onExit'] = {
- title = 'Information',
- description = 'You have exited from a zombie zone!',
- type = 'error', -- avaible types : inform, success, error
- icon = 'skull' -- Name of a Font Awesome icon. (https://fontawesome.com/icons)
- },
- ['zombiesIncoming'] = {
- title = 'Information',
- description = 'Watch out, theres more of them!',
- type = 'inform', -- avaible types : inform, success, error
- icon = 'skull' -- Name of a Font Awesome icon. (https://fontawesome.com/icons)
- }
- }
- Config.Zones = {
- ['test_zone'] = {
- type = 'sphere', -- avaible options: box, sphere
- sphereData = {
- coords = {
- {
- position = vec3(2176.8569, 3182.2786, 50.5334),
- radius = 50.0
- },
- }
- },
- boxData = {
- coords = {
- {
- position = vec3(2384.6589, 3086.5298, 48.1531),
- size = vec3(100,100,100),
- rotation = 0
- }
- },
- },
- blip = { -- you can find more information at https://docs.fivem.net/docs/game-references/blips/
- sprite = 84,
- display = 4,
- scale = 1.0,
- colour = 1,
- text = 'Zombie zone - Hard level',
- radius = {
- colour = 1,
- alpha = 150 -- value between 0 and 255
- }
- },
- 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}
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement