FWB STUDIO
Visit Store
  • Fwb Studios
    • 👋Welcome to FWB STUDIOS
      • FWB STUDIOS
    • ❓Common Questions
    • ⬆️How to Get Updates On Scripts
  • FiveM Escrow Errors
    • 🛠️ERRORS
      • ⚠️Is my error caused by FiveM escrow system?
      • ❓Failed to verify protected resource
      • ❓What steps should be taken if there are still errors?
  • How To Do This
    • 🛠️Install FwB Scripts
      • 5️ESX/QB Installation
  • FS SCRIPTS
    • 🌉Bridge
      • 📋Installation
      • Logs Setup
      • Integration
        • 📖Client_Override
        • 📖Server_Override
      • ❗Common Issues
    • 💳Fraud System
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 👠Skitz
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • 🦱Weave Wear
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • ⌛Safezone Creator
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ❗Common Issues
    • 🍌Useable Foods
      • 📋Installation
      • ❗Common Issues
    • 🍕Pizza Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🍔Burger Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 📱Trap Phone
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🚗Carwipe
      • 📖[ESX/QB] Config Files
      • 📄Send Vehicle Garage
      • 📖Unlocked FIle
      • 📋Installation
      • 📖Exports
      • ❗Common Issues
    • 📦Placeables
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • Money As Item in Ox Inventory
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🚬Smoking
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🌱White Widow
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 👕Clothing As Item
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 📖Item Whitelist
      • ❗Common Issues
    • 💎Ice Box
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Switch
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Gun Jamming
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 👀Lashes Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 💅Nails Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 🕐Duty System
      • 📖[ESX] Config Files
      • 📖[QB] Config Files
      • 📋Installation
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🦱Wigs Bundle
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Create New Wigs
    • 🚗Chop Shop
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Exports (Optional)
      • ❗Copy of Common Issues
Powered by GitBook
On this page
  • Framework
  • Dependencies
  • 1 - Start
  • 2 - Items
  • 3 - Configuration
  • 4 - Ready
  1. FS SCRIPTS
  2. Switch

Installation

Resource installation guide and dependencies

Previous[QBCore] Config FilesNextIntegrations

Last updated 8 months ago

Framework

Dependencies

Resource
Install
Description

Required

callbacks,notification

1 - Start

1. Download your resource from FiveM's Keymaster.
2. Unzip fs_switch.zip folder and place it into your resource folder.
3. Install items according to your inventory {you can copy items from below}
4. Install images that come with script in install_me_first/images folder

2 - Items

-- add item into ox_inventory/shared/items.lua under last item

["fs_switch"] = {
	label = "Switch",
	weight = 1,
	stack = true,
	close = true,
	allowArmed = true,
	description = 'Switch',
},

["fs_redswitch"] = {
		label = "Red Switch",
		weight = 1,
		stack = true,
		close = true,
		allowArmed = true,
		description = 'Red Weapon Switch',
},

["fs_blueswitch"] = {
	label = "Blue Switch",
	weight = 1,
	stack = true,
	close = true,
	allowArmed = true,
	description = 'Blue Weapon Switch',
},

["fs_greenswitch"] = {
	label = "Green Switch",
	weight = 1,
	stack = true,
	close = true,
	allowArmed = true,
	description = 'Green Weapon Switch',
},
-- add item into ur inventory at the bottom of ur last added item

['fs_switch']             = {
    ['name'] = 'fs_switch',
    ['label'] = 'Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_switch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_redswitch']             = {
    ['name'] = 'fs_redswitch',
    ['label'] = 'Red Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_redswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_blueswitch']             = {
    ['name'] = 'fs_blueswitch',
    ['label'] = 'Blue Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_blueswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_greenswitch']             = {
    ['name'] = 'fs_greenswitch',
    ['label'] = 'Green Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_greenswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},
-- add item into qb_core items file under last item
 
['fs_switch']             = {
    ['name'] = 'fs_switch',
    ['label'] = 'Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_switch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_redswitch']             = {
    ['name'] = 'fs_redswitch',
    ['label'] = 'Red Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_redswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_blueswitch']             = {
    ['name'] = 'fs_blueswitch',
    ['label'] = 'Blue Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_blueswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

['fs_greenswitch']             = {
    ['name'] = 'fs_greenswitch',
    ['label'] = 'Green Switch',
    ['weight'] = 50,
    ['type'] = 'item',
    ['image'] = 'fs_greenswitch.png',
    ['unique'] = true,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Switch for Pistols'
},

3 - Configuration

* You must go through all configuration options & settings in shared/config.lua

4 - Ready

Congratulations, you've successfully installed the resource. Restart the server and you will be all set.

🔫
📋
ESX
QBCore
ox_inventory
qs-inventory
ox_inventory
qs-inventory
qb-inventory
ps-inventory
lj-inventory
ox_lib