โ๏ธ zrx_ffa โ Advanced Free For All System
An advanced, optimized and fully configurable Free For All combat system for FiveM (ESX).
Perfect for PvP, faction and competitive roleplay servers looking for fully isolated combat arenas with public and private lobbies.
๐ Features
๐ Public Zones
๐บ๏ธ Unlimited configurable public zones
๐ชฃ Routing bucket isolation per zone
๐ Sphere-based zone boundary enforcement
๐พ Automatic loadout save & restore
๐ก๏ธ Configurable spawn protection
๐ฏ Optional headshot one-shot mode
๐ซ Infinite ammo support
๐ Live kill feed system
๐ Real-time HUD & scoreboard
๐ Configurable map blips & markers
๐ Private Zones
๐ค Player-created private lobbies
๐บ๏ธ Custom map selection system
๐ซ Custom weapon loadouts
๐ Optional password protection
๐ฅ Configurable max player limit
๐ฏ Headshot one-shot toggle
๐ keepOnline lobby system
โ Remote lobby close support
๐ฅ๏ธ UI / NUI
โจ Polished zone selection menu
๐ผ๏ธ Map preview image on hover
๐ Public & Private tab system
โ๏ธ Integrated private lobby creator
๐ซ Disabled create button while owning a lobby
โ Confirmation dialog before closing a lobby
โ๏ธ General
๐ฎ Fully remappable keymapping
๐ฆ ESX & ox_inventory support
โ๏ธ Fully customizable notifications & strings
๐ Optimized and fully synced
๐ฆ Requirements
ox_lib
oxmysql
es_extended
โ๏ธ Installation
Place
zrx_ffainto yourresourcesfolderAdd this to your
server.cfg
ensure zrx_ffa
Restart the server
Edit
configuration/config.lua
โจ๏ธ Commands
/openffa
/quitffa
๐ค Exports
Client
exports['zrx_ffa']:OpenFFAMenu()
exports['zrx_ffa']:CloseFFAMenu()
๐ง StateBags
zrx_ffa:zone
zrx_ffa:privateZone
โ๏ธ Configuration Example
Config.Debug = false
Config.DebugLevel = 'INFO'
Config.DrawDistance = 80
Config.SpawnProtect = {ย enabled = true,ย time = 2,ย animation = true,ย }
Config.KillNotification = {ย enabled = true,ย showAll = true,ย }
Config.Leave = {ย command = 'quitffa',ย promptKey = 'F10',ย }
Config.HUD = {ย position = 'top',ย showPlayers = true,ย }
๐ Public Zone Example
Config.Public = {ย my_zone = {
name = 'My Zone',
description = 'Only Pistol โข Headshot Oneshot',
maxPlayers = 10,
dimension = 1003,
image = 'https://...',
sphere = {
enabled = true,
radius = 50.0,
},
player = {
headshotOneShot = true,
armor = 100,
},
weapon = {
WEAPON\_PISTOL = {},
},
},}
๐ Private Zone Configuration
Config.Private = {
keepOnline = true,
mappool = Config.Maps,
weaponpool = {
WEAPON\_PISTOL = {},
},}
๐ Notification Customization
Customize your own notification system inside:
configuration/functions.lua
Example:
Config.Function.Notification = function(data)
-- data.player
-- data.title
-- data.msg
-- data.type
-- data.durationend
All notification strings can be edited inside:
configuration/strings.lua
โก Performance
๐ชฃ Routing bucket optimized
๐ก Fully synchronized combat zones
๐พ Automatic inventory handling
๐ Production-ready
โ๏ธ Optimized resource usage
๐ ๏ธ Support
Need help or found a bug?
Discord: https://discord.gg/mcN25FJ33K