/jl-carboost

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

JustLazzy Carboost

THIS SCRIPT IS NOT YET STABLE! AND NOT YET READY, PLEASE REPORT IF YOU FIND BUG

Join my discord server here

Dependencies

boostinghack from Lionh34rt here

Polyzone

qb-target


How to install

  1. Import db.sql to your database

  2. Go to your qb-core/server/player.lua, and find QBCore.Player.CheckPlayerData function and paste this snippets

    -- Car Boosting
    PlayerData.metadata['carboostclass'] = PlayerData.metadata['carboostclass'] or 'D'
    PlayerData.metadata['carboostrep'] = PlayerData.metadata['carboostrep'] or 0
  1. Go to your qb-core/shared/items.lua, and add this
-- Hacking
['hacking_device']			  = {['name'] = "hacking_device",					['label'] = "Hacking device",			['weight'] = 500,		['type'] = 'item', 		['image'] = 'hacking_device.png',			['unique'] = true,		['useable']	= true,		['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = "A multi purpose hacking device"},

Find laptop and change unique and usage to true,

['unique'] = true, 		['useable'] = true,

And you're done

Configuration

Configuring the bennys shop

Config.BennysSell = {
    ["brake1"] = {
        item = 'brake1', --Item name
        image = 'brake_parts_b.png', --Item image
        price = 1000, --Item price
        stock = 50 -- Item stock
    },
}

MAKE SURE YOUR ITEM IS EXIST ON THE SHARED ITEM

Commands

Name Description Permission
settier Set Boosting Tier Admin
giveContract Give contract to a specific player Admin