Skip to content
Documentation
Games & Events4FFA Arenas

r_ffa Installation

Install r_ffa: download it from the Cfx.re Portal and ensure it after ox_lib, oxmysql and ESX, QBCore or QBX. Optional target, pma-voice and r_store.

Prerequisites

  • ox_lib
  • oxmysql
  • ESX, QBCore or QBX
  • Optional: ox_target or qb-target, pma-voice, R_Store (credit wagers), MugShotBase64 (player photos)

Installation Steps

Download & Extract

  1. Download R_FFA from your Cfx.re Portal
  2. Extract the folder into your server's resources directory
  3. Make sure the folder is named exactly r_ffa
  • r_ffa
    • bridgeopen: prompt style and custom target
      • cl_textui.luaR.TextUI = 'custom'
      • cl_target.luaR.Target = 'custom'
    • client
      • cl_custom.luavoice, revives, inventory, HUD hooks
    • localesen, fi
      • server
        • sv_custom.luaDiscord webhooks, reward hooks
      • sqlonly if you import it yourself
        • streamthe podium props
          • config.luaevery setting, arenas and lobbies
          • fxmanifest.lua

        Add to server.cfg

        Put it after ox_lib, oxmysql, your framework, target and pma-voice:

        ensure ox_lib
        ensure oxmysql
        ensure qbx_core
        ensure ox_target
        ensure pma-voice
        ensure r_ffa

        Admins (R.AdminGroup) can remove any lobby and open the hub anywhere with /ffaadmin:

        add_ace group.admin command.ffaadmin allow

        Language (optional, default English):

        setr ox:locale "en"   # en | fi

        Discord logs (optional)

        Paste your webhooks into Webhooks at the top of server/sv_custom.lua (lobby, duel, admin). Empty ones are skipped.

        Restart & connect

        Restart your server, or run this in the server console. The table is created on first start.

        Server console
        refresh
        ensure r_ffa
        Started resource r_ffa
        [r_ffa] created table r_ffa

        Go to the arena ped (map blip FFA Arena), open the hub and join a lobby.

        Upgrading from v1

        Keep R.EnableAutoinsert = true for the first start. The old table is converted and players keep their kills and deaths. With autoinsert off, run sql/migrate_v1.sql once.

        Updates

        The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the folder, keeping your config.lua, bridge/, client/cl_custom.lua, server/sv_custom.lua and locales.

        Keep the folder name r_ffa and don't change author in fxmanifest.lua, or the update check stops.

        Next Steps