An advanced FiveM zombies script that provides a realistic zombie apocalypse experience with dynamic features and immersive gameplay.
-
🧟♂️ Dynamic Zombie System
- Multiple zombie types (Regular, Stronger, Runner, On-Fire, Gas)
- Custom zombie behaviors and animations
- Configurable health and damage settings
- Headshot system with insta-kill option
-
🗺️ Zone System
- Redzones: High-difficulty areas with increased zombie spawns
- Firezones: Areas where zombies are set on fire
- Safezones: Protected areas where zombies are removed
- Configurable zone properties and limits
-
🚗 Vehicle System
- Parked vehicle density control
- Vehicle damage from zombies
- Player damage while in vehicles
- Configurable damage settings
-
🔊 Sound System
- Support for xsound and sounity
- 3D sound effects for zombies
- Sound-based zombie attraction
- Configurable volume and distance
-
🎮 Gameplay Features
- Dynamic zombie spawning
- Custom loot system
- Player statistics tracking
- Framework support (ESX, QBCore, Standalone)
- FiveM Server
- OneSync (Recommended)
- One of the following sound systems:
- xsound
- sounity
- One of the following frameworks (optional):
- ESX
- QBCore
- Download the latest release
- Extract the files to your resources folder
- Add
ensure snowii_advanced-zombiesto your server.cfg - Import the SQL file if using ESX or QBCore
- Configure the script in
config.lua
- Open
config.lua - Set your framework:
Config.Framework = "ESX" -- or "QBCore" or "Standalone"- Configure sound system:
Config.SoundSystem = {
Enabled = true,
Type = "xsound", -- or "sounity"
Volume = 0.5,
MaxDistance = 50.0
}- Configure Redzones:
Config.RedZones = {
Enabled = true,
Zones = {
Downtown = {
Pos = {x = 0.0, y = 0.0, z = 0.0},
Radius = 100.0,
ZombieLimit = 20,
SpawnDistance = 50.0,
Models = {"u_m_m_prolsec_01", "a_m_m_hillbilly_01"},
SpawnRate = 1000
}
}
}- Configure Firezones:
Config.FireZones = {
Enabled = true,
Zones = {
Downtown = {
Pos = {x = 0.0, y = 0.0, z = 0.0},
Radius = 50.0,
DamagePerSecond = 10
}
}
}- Configure Safezones:
Config.SafeZones = {
Enabled = true,
AllowZombieSpawning = false,
Zones = {
-- Add your safe zones here
}
}Configure special zombie types in Config.ZombieTypes:
Config.ZombieTypes = {
Regular = {
Enabled = true,
Health = 200,
Damage = 15,
Speed = 1.0
},
Stronger = {
Enabled = true,
Models = {
{model = "a_m_o_acult_02", hp = 900}
}
}
-- Configure other types as needed
}Configure vehicle settings:
Config.VehicleSystem = {
EnableParkedVehicles = true,
ParkedVehicleDensity = 0.5,
EnableVehicleDamage = true,
VehicleDamageSettings = {
EngineDamage = true,
PlayerDamage = true,
DamageAmount = 10,
DamageInterval = 1000
}
}- Adjust spawn distances in
Config.Zombies:
Config.Zombies = {
MinSpawnDistance = 30,
MaxSpawnDistance = 45,
DespawnDistance = 50
}- Configure zombie limits in zones:
Config.RedZones.Zones.YourZone.ZombieLimit = 20- Adjust spawn rates:
Config.RedZones.Zones.YourZone.SpawnRate = 1000-
Zombies not spawning:
- Check if zones are properly configured
- Verify spawn distances
- Check if the resource is started
-
Sound issues:
- Verify xsound/sounity is installed
- Check sound file paths
- Adjust volume settings
-
Performance issues:
- Reduce zombie limits
- Increase spawn distances
- Adjust spawn rates
For support, please:
- Check the documentation
- Review the changelog
- Check known issues
- Contact support if needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Original Author: Nosmakos
- Modified by: Snowii
- Special thanks to all contributors