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
| Resource | Required | Purpose |
|---|---|---|
ox_lib | Yes | Callbacks, zones, animations |
prp-bridge | Yes | Framework, inventory, target, admin commands, player load tracking |
| Inventory (via bridge) | Yes | Configured 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| Convar | Default | Description |
|---|---|---|
zombieMultiplier | 1.0 | Multiplier for max zombies per zone |
zombieSpawnMultiplier | 1.0 | Multiplier for zombies spawned per tick |
animalMultiplier | 1.0 | Multiplier for max animals per zone |
animalSpawnMultiplier | 1.0 | Multiplier 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 1This disables zombie spawning and protects the player until they finish character creation.
Admin commands
All commands require the admin permission via prp-bridge.
| Command | Arguments | Description |
|---|---|---|
/zombies_toggle | — | Enable 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_debug | — | Toggle 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.