Configuration Guide: Nail Trap System
This guide will help you configure the Nail Trap System to match your server’s framework, targeting system, and inventory preferences.
1️⃣ Core Configuration
To configure the script, open the shared/config.lua
Framework Selection
Set your core framework based on your server:
"QBCore" → Use this for a qb-core-based server.
"ESX" → Use this if your server runs on es_extended.
"Qbox" → Select this if your server is using qbox_core.
2️⃣ Targeting System
Select the targeting system your server uses:
"ox_target" → Uses ox_target for interacting with nails.
"qb-target" → Uses qb-target as the interaction method.
"interact" → Uses a basic interaction system instead of a targeting resource.
3️⃣ Inventory System
Choose the inventory system that matches your server:
"qb" → Use this if you have qb-inventory installed.
"ox" → Use this if you are running ox_inventory.
4️⃣ Nails System Settings
Customize how the nails function in-game:
CleanUp
→ Defines how long (in minutes) nails will stay on the ground before they are removed automatically. Default: 10 minutes.DamagePerNail
→ Determines how much tire damage a single nail will cause when driven over. Default: 33.335% per nail.
📌 Final Steps
Make sure you have selected the correct framework, targeting system, and inventory system.
Adjust the cleanup time and damage settings to fit your server's needs.
Restart your server for the changes to take effect.
Last updated