Skip to content
Documentation
Free3Anti Hitbox

r_antihitbox Installation

Install r_antihitbox: claim it free, download it from the Cfx.re Portal, ensure it and give your admins the permission. No dependencies.

Prerequisites

R_Antihitbox has no dependencies and no SQL file.

Installation Steps

Download & Extract

  1. Claim R_Antihitbox for free on r-scripts.net
  2. Download it from your Cfx.re Portal
  3. Extract the folder into your server's resources directory
  4. Make sure the folder is named exactly r_antihitbox
  • r_antihitbox
    • client
      • server
        • sv_custom.luawebhook, kick, your own punishment
      • shared
        • config.luaevery setting
      • fxmanifest.lua

    Add to server.cfg

    ensure r_antihitbox

    Permissions

    Admins use the command and get the alerts. Add this to server.cfg with your own admin group:

    add_ace group.admin r_antihitbox.admin allow

    A player or group that should never be checked gets the bypass:

    add_ace group.admin r_antihitbox.bypass allow

    Discord logs (optional)

    Paste your webhook into the first line of server/sv_custom.lua:

    local webhook = 'https://discord.com/api/webhooks/...'

    Restart

    Restart your server, or run this in the server console:

    Server console
    refresh
    ensure r_antihitbox
    Started resource r_antihitbox

    The script starts on R.Action = 'kick'. Set it to 'log' first if you want to watch what it catches before it kicks anyone.

    Custom peds (optional)

    The two freemode models are checked out of the box. If your server uses other player peds, change into each one in game on a clean client and type:

    /antihitbox save

    See Models.

    Updating from v1

    v2 has a new config, so set it up again. Move your webhook to server/sv_custom.lua. ox_lib is no longer needed.

    Updates

    The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the folder, keeping your shared/config.lua and server/sv_custom.lua. Peds saved with the command stay saved.

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

    Next Steps