God Studios
Discord
  • Welcome
  • GOD - Prop Robbery & Selling System
    • How It Works
    • Code Breakdown
    • Customization
  • GOD -Dynamic Spotlights & Detection System
    • How It Works
    • Code Breakdown
    • Customization
  • GOD - Laser System
    • Overivew
    • Usage
  • GOD - Crosshair Generator
  • God - Impound System
    • How It Works
    • Installation Guide: Impound System
  • GOD - Car Parts Stealing
    • How It Works
    • Installation Guide: Car Parts Stealing
  • GOD - Nail Trap System
    • How It Works
    • Installation Guide: Nail Trap System
    • Configuration Guide: Nail Trap System
Powered by GitBook
On this page
  • 1️⃣ Core Configuration
  • 2️⃣ Targeting System
  • 3️⃣ Inventory System
  • 4️⃣ Nails System Settings
  • 📌 Final Steps
  1. GOD - Nail Trap System

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:

J0.Core = "QBCore" -- Options: "QBCore", "ESX", "Qbox"
  • "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:

J0.Target = "ox_target" -- Options: "ox_target", "qb-target", "interact"
  • "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:

J0.Inventory = 'qb' -- Options: "qb", "ox"
  • "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:

J0.NailsCfg = {
    CleanUp = 10, -- Time (in minutes) before deployed nails automatically disappear
    DamagePerNail = 33.335 -- Damage percentage applied to a vehicle's tire upon contact with a nail
}
  • 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

  1. Make sure you have selected the correct framework, targeting system, and inventory system.

  2. Adjust the cleanup time and damage settings to fit your server's needs.

  3. Restart your server for the changes to take effect.

PreviousInstallation Guide: Nail Trap System

Last updated 3 months ago