# 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,
},
['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
Last updated