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️⃣ Add Items to Your Inventory
  • 2️⃣ Install ox_lib
  • 3️⃣ Ready to Go! πŸš€
  1. GOD - Nail Trap System

Installation Guide: Nail Trap System

Follow this guide to install and set up the Nail Trap System on your server.

1️⃣ Add Items to Your Inventory

OX Inventory

If you are using ox_inventory, add the following items to your data/items.lua:

['screw_nail'] = {
    label = 'Nail',
    weight = 5000,
    stack = true,
    close = true,
    description = 'A specially crafted nail to do something haha..',
    client = {
        image = 'screw_nail.png',
        export = 'J0-nailScript.useNail'
    },
},

['nailspackage'] = {
    label = 'Nails Package',
    weight = 5000,
    stack = true,
    close = true,
    description = 'A specially crafted nail to do something haha..',
    client = {
        image = 'nailspackage.png',
        export = 'J0-nailScript.useNailPackage'
    },
},

QB Inventory

If you are using qb-inventory, add the following items to your shared/items.lua:

["screw_nail"] = {
    name = "screw_nail",
    label = "Nail",
    weight = 5000,
    type = "item",
    image = "screw_nail.png",
    unique = false,
    useable = true,
    shouldClose = true,
    combinable = nil,
    description = 'A specially crafted nail to do something haha..',
},

["nailspackage"] = {
    name = "nailspackage",
    label = "Nails Package",
    weight = 5000,
    type = "item",
    image = "nailspackage.png",
    unique = false,
    useable = true,
    shouldClose = true,
    combinable = nil,
    description = 'A specially crafted nail to do something haha..',
},

2️⃣ Install ox_lib

This script requires ox_lib for smooth operation. If you don’t have it installed, follow these steps:


3️⃣ Ready to Go! πŸš€

  • Ensure your inventory system is set up correctly.

  • Verify that ox_lib is installed and running.

  • Start your server and enjoy the Nail Trap System!

πŸ’‘ For further configuration, check your framework settings or tweak the script to fit your server's needs.

Let me know if you need any adjustments! πŸš¨πŸ”©

PreviousHow It WorksNextConfiguration Guide: Nail Trap System

Last updated 3 months ago

GitHub - overextended/ox_lib: A collection of Lua functions to utilise in other resources.GitHub
Logo