L2S Documentation
DiscordTebex
  • Documentation
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Coding Information
    • Webhook System
    • Register Key Mapping
    • Translation System
  • ASSETS & GUIDES
    • 🚨Dispatch
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • API
        • Hub
        • CCTV
        • Dispatch
        • UI
      • 💻Integration
        • Exports
          • Client
          • Server
        • Police Alerts
        • Radio Channel
        • Duty System
    • 🏨Hotels V2
      • ⤵️Installation
      • ⚙️Configuration
        • Config
        • Elevators
        • Hotels
      • 💻Exports
    • 👮Police Hub
      • ⤵️Installation
      • ⚙️Configuration
      • 💻Events & Alerts
    • 💀Gangs Turf
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Gangs
      • 💻Exports
      • 📚Tutorial
    • 🔫Paint Ball
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Clothes
        • Locations
      • 💻Exports
Powered by GitBook
On this page
  • # STEP 1 - Check dependencies
  • # STEP 2 - Drag And Drop
  • # STEP 3 - SQL Insert
  • # STEP 4 - Setup Items and Images
  • # STEP 5 - Start The Script
  1. ASSETS & GUIDES
  2. Gangs Turf

Installation

PreviousGangs TurfNextConfiguration

Last updated 3 months ago

# STEP 1 - Check dependencies

Make sure you have installed all .

# STEP 2 - Drag And Drop

Drag and drop the l2s-gangsturf to your resources folder.

# STEP 3 - SQL Insert

Insert the SQL file to your database.

# STEP 4 - Setup Items and Images

1- Setup Images according to your inventory

2- Setup Items according to your inventory

1- Add Items in qb-core/shared/items.lua

["turfspray"] = {
    ["name"] = "turfspray",
    ["label"] = "Gang Spray",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "turfspray.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},
["spray_remover"] = {
    ["name"] = "spray_remover",
    ["label"] = "Spray Remover",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "spray_remover.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},

1- Add Items in ox_inventory/data/items.lua

['turfspray'] = {
    label = 'Turf Spray',
    weight = 100,
    client = {
        event = 'l2s-gangsturf:client:useSpray',
    },
},
['spray_remover'] = {
    label = 'Spray Remover',
    weight = 100,
},

1- Add Items in qb-core/shared/items.lua or or qs-inventory/config/metadata.js for esx

["turfspray"] = {
    ["name"] = "turfspray",
    ["label"] = "Gang Spray",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "spray.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},
["spray_remover"] = {
    ["name"] = "spray_remover",
    ["label"] = "Spray Remover",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "spray_remover.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},
["turfspray"] = {
    ["name"] = "turfspray",
    ["label"] = "Gang Spray",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "turfspray.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},
["spray_remover"] = {
    ["name"] = "spray_remover",
    ["label"] = "Spray Remover",
    ["weight"] = 1000,
    ["type"] = "item",
    ["image"] = "spray_remover.png",
    ["unique"] = true,
    ["useable"] = true,
    ["shouldClose"] = false,
    ["combinable"] = nil,
    ["description"] = "Gang Spray"
},

# STEP 5 - Start The Script

1 - Start the script on your server.cfg

ensure l2s-gangsturf 

💀
⤵️
dependencies
19KB
GangsTurf Items.rar