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
- Claim R_Antihitbox for free on r-scripts.net
- Download it from your Cfx.re Portal
- Extract the folder into your server's
resourcesdirectory - 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_antihitboxPermissions
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 allowA player or group that should never be checked gets the bypass:
add_ace group.admin r_antihitbox.bypass allowDiscord 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:
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 saveSee 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.