Join my discord server here |
---|
boostinghack from Lionh34rt here
-
Import db.sql to your database
-
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
- 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
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
Name | Description | Permission |
---|---|---|
settier | Set Boosting Tier | Admin |
giveContract | Give contract to a specific player | Admin |