Skip to content

Installation

This guide will walk you through installing prp-zombies on your FiveM server.

Installation steps

1
Download the resource
Download prp-zombies from the CFX portal and place it in your resources folder.
2
Add to server.cfg
Add the resource to your server.cfg after all dependencies.
ensure ox_lib
ensure prp-bridge
ensure prp-zombies
Configure your inventory in prp-bridge — see Bridge configuration.
3
Configure config.lua
Open config.lua to set safe zones, spawn rates, zombie types, and map density. See Configuration.
4
Wire up editable files
Implement the stub functions in the editable/ folder to connect clothing, perks, and HUD to your server. DisarmPlayer defaults to bridge.inv.disarm(). See Editable integration.
5
Optional: server convars
Set global multipliers in server.cfg if needed — see Server convars below.

Dependencies

ResourceRequiredPurpose
ox_libYesCallbacks, zones, animations
prp-bridgeYesFramework, inventory, target, admin commands, player load tracking
Inventory (via bridge)YesConfigured in prp-bridge (ox_inventory, origen_inventory, or tgiann-inventory)

TIP

prp-zombies does not require a database or additional inventory items. Safe zone stashes are created automatically per player through prp-bridge.

Server convars

Add these to your server.cfg to tune global spawn density at runtime:

cfg
setr zombieMultiplier 1.0
setr zombieSpawnMultiplier 1.0
setr animalMultiplier 1.0
setr animalSpawnMultiplier 1.0
ConvarDefaultDescription
zombieMultiplier1.0Multiplier for max zombies per zone
zombieSpawnMultiplier1.0Multiplier for zombies spawned per tick
animalMultiplier1.0Multiplier for max animals per zone
animalSpawnMultiplier1.0Multiplier for animals spawned per tick

INFO

Convar changes are picked up live via change listeners — no resource restart required.

Character creation mode

If your server uses character creation only (no zombies during creation), set:

cfg
setr allowOnlyCharacterCreation 1

This disables zombie spawning and protects the player until they finish character creation.

Admin commands

All commands require the admin permission via prp-bridge.

CommandArgumentsDescription
/zombies_toggleEnable or disable zombie spawning server-wide
/zombies_spawn[zombieType] [health]Spawn one zombie near you
/zombies_bomb[count]Spawn multiple zombies near you (default: 10)
/zombies_debugToggle client debug overlay (HP, tasks, zone counts)

WARNING

Set Config.Debug to false in config.lua before going live. The /zombies_debug command is for admin troubleshooting only.