Installation
Mad Boosting App
A comprehensive boosting system for FiveM servers with marketplace integration and leaderboard functionality.
Important Note!
Execute .sql file
Vehicle Keys Integration
This script requires integration with your vehicle keys system to prevent unauthorized access to boosting vehicles. Follow the instructions below based on your vehicle keys script.
qb-vehiclekeys
Add the following code to the lockpicks:UseLockpick event in client/main.lua, after the if vehicle == nil or vehicle == 0 then return end check:
local boostingInfo = Entity(vehicle).state.boostingData
if boostingInfo ~= nil and ((not boostingInfo.authorizedCids and boostingInfo.ownerCid ~= QBCore.Functions.GetPlayerData().citizenid) or (boostingInfo.authorizedCids and not boostingInfo.authorizedCids[QBCore.Functions.GetPlayerData().citizenid])) then
QBCore.Functions.Notify('This vehicle is not meant for you!', 'error')
return
end
if boostingInfo ~= nil and boostingInfo.requiresAdvancedHack then
QBCore.Functions.Notify('This vehicle requires more advanced systems!', 'error')
return
endqbx_vehiclekeys
Add the following code to the LockpickDoor function inside client/functions.lua, after the if not vehicle then return end check:
Other Vehicle Keys Scripts
If you're using a different vehicle keys script, add the code above to your vehicle unlock/lockpick function on the client-side, wherever you handle vehicle unlocking attempts.
How It Works
The script uses StateBags to store boosting contract information on vehicles. When a player attempts to unlock a boosting vehicle:
The system checks if the vehicle has
boostingDatain its stateIt verifies if the player is authorized (owner or group member)
It checks if the vehicle requires advanced systems (hacking)
If unauthorized, the unlock attempt is blocked
๐ฆ Inventory Items Configuration
This page documents the required inventory items for the resource, compatible with ox_inventory and qb-inventory.
๐น ox_inventory
Add the following items to your ox_inventory/data/items.lua:
๐น qb-inventory
Add the following items to qb-core/shared/items.lua:
โน๏ธ Dependacies
ox_lib
qb-core / qbx_core / esx
any interaction script
Last updated