💥pengu_antilag

A one-of-a-kind standalone anti-lag resource!

Introduction

Pengu's Anti-lag System is a unique take on vehicle anti-lag. Using all native audio and other standalone features to make your car's newest performance modification! This IS NETWORKED and DOES NOT "scare" NPCs (locals).

Preview

Installation

SQL Query:

CREATE TABLE IF NOT EXISTS `pengu_antilag` (
  `plate` VARCHAR(50),
  PRIMARY KEY (`plate`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

Items: (only if using inventory)

qb-inventory:

	-- Pengu Antilag
	['antilag_install_kit'] 			 	= {['name'] = 'antilag_install_kit', 			   ['label'] = 'Antilag Kit', 				['weight'] = 250, 		   ['type'] = 'item', 		   ['image'] = 'antilagkit.png', 				['unique'] = true,		   ['useable'] = true, 		['shouldClose'] = true,	   ['combinable'] = nil,  ["degrade"] = 0  ,["delete"] = false, ['description'] = 'Antilag installation kit'},
	['antilag_uninstall_kit'] 			 	= {['name'] = 'antilag_uninstall_kit', 			   ['label'] = 'Antilag Kit', 				['weight'] = 250, 		   ['type'] = 'item', 		   ['image'] = 'antilagkit.png', 				['unique'] = true,		   ['useable'] = true, 		['shouldClose'] = true,	   ['combinable'] = nil,  ["degrade"] = 0  ,["delete"] = false, ['description'] = 'Antilag removal kit'},

ox_inventory:

-- Pengu Antilag
['antilag_install_kit'] = {
	label = 'Antilag Install Kit',
	weight = 1000,
	name = 'antilag_install_kit',
	description = "Bang bang!",
	--useable = true,
	client = {
		image = "repairkit.png",
		export = "pengu_antilag.antilag_install_kit",
	},
},
['antilag_uninstall_kit'] = {
	label = 'Antilag Uninstall Kit',
	weight = 1000,
	name = 'antilag_uninstall_kit',
	description = "Goodbye Antilag.",
	--useable = true,
	client = {
		image = "repairkit.png",
		export = "pengu_antilag.antilag_uninstall_kit",
	},
},

qs-inventory

	-- Pengu Antilag
	['antilag_install_kit'] 			 	= {['name'] = 'antilag_install_kit', 			   ['label'] = 'Antilag Kit', 				['weight'] = 250, 		   ['type'] = 'item', 		   ['image'] = 'antilagkit.png', 				['unique'] = true,		   ['useable'] = true, 		['shouldClose'] = true,	   ['combinable'] = nil,  ["degrade"] = 0  ,["delete"] = false, ['description'] = 'Antilag installation kit'},
	['antilag_uninstall_kit'] 			 	= {['name'] = 'antilag_uninstall_kit', 			   ['label'] = 'Antilag Kit', 				['weight'] = 250, 		   ['type'] = 'item', 		   ['image'] = 'antilagkit.png', 				['unique'] = true,		   ['useable'] = true, 		['shouldClose'] = true,	   ['combinable'] = nil,  ["degrade"] = 0  ,["delete"] = false, ['description'] = 'Antilag removal kit'},

ESX inventory

Add items as normal. They will be called: antilag_install_kit and antilag_uninstall_kit

Last updated