๐Ÿ“‹Installation

Resource installation guide and dependencies

Framework

Dependencies

ResourceInstallDescription

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',
	client = {
		export = 'fs_switch.fs_switch'
	},
},

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

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

["fs_greenswitch"] = {
	label = "Green Switch",
	weight = 1,
	stack = true,
	close = true,
	allowArmed = true,
	description = 'Green Weapon Switch',
	client = {
		export = 'fs_switch.fs_greenswitch'
	},
},

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.

Last updated

Change request #57: