Master Mind Development
DiscordTebexGithub
  • ๐Ÿ’ฐPaid Release
    • ๐Ÿ“ฆAirdrop
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘€Target
        • ๐ŸŽฎMinigame
      • ๐Ÿ‘จโ€๐Ÿ’ปCustomization
        • ๐Ÿ”ฅExplosive Crate
        • ๐Ÿ“งMail
    • ๐ŸŽ๏ธDealership
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
        • ๐Ÿ‘จโ€๐Ÿ’ปInitializing/Configuration
        • ๐Ÿ“ธGenerate Vehicle Images
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘€Target
        • ๐Ÿ““Miscellaneous
      • ๐ŸฌHow to Add Custom Shop
      • โš ๏ธImportant Notes
  • ๐ŸŽFREE RELEASE
    • ๐Ÿ“ปRadio
      • โคต๏ธInsallation
        • ๐ŸŒ‰Bridge Setup
        • ๐Ÿ‘œAdd Item
        • ๐Ÿ‘จโ€๐Ÿ’ปHow to build svelte ui file?
      • ๐Ÿ“’Configuration
        • ๐Ÿ—ผJammer System
        • ๐Ÿ”‹Battery
        • ๐Ÿ“ปChannel Name
        • ๐Ÿ“ปRestricted Radio Channel
      • ๐Ÿ‘จโ€๐Ÿ’ปExports
      • ๐Ÿ’ปBranch
    • ๐Ÿ”‘Car Keys
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘œStack Key
      • ๐Ÿ‘จโ€๐Ÿ’ปUseful Exports
Powered by GitBook
On this page
  1. ๐Ÿ’ฐPaid Release
  2. ๐ŸŽ๏ธDealership
  3. ๐Ÿ“’Configuration

๐Ÿ““Miscellaneous

Configure the script other dependencies

Last updated 1 year ago

CtrlK
  • Vehicle Keys
  • Boss Menu
  • Add Funds to Boss Menu
  • Remove Item From Stash
  • Fuel Script

Vehicle Keys

QB Vehiclekeys doesn't support different logic for temporary and primary keys, so you can add common events on both section, but if your script does then provide the events/exports to it respective locations

Boss Menu

Add Funds to Boss Menu

Event/Exports to add funds to bossmenu that are recieved from test drive or buy vehicle

Remove Item From Stash

This function is used to remove an item from stash, necessary to remove car docs when on successful trade gets removed from stash

Fuel Script

Export to use fuel script with the vehicleshop

-- function to provide keys for vehicles
function GiveKeys(veh, tempKeys)
    if tempKeys then
        -- if your script supports different logic for temporary keys
        TriggerServerEvent('vehiclekeys:client:SetOwner', QBCore.Functions.GetPlate(veh))
    else
        -- if your script supports different logic for permanent keys
        TriggerEvent('vehiclekeys:client:SetOwner', QBCore.Functions.GetPlate(veh))
    end
end
function OpenBossMenu(job)
    -- event/export to open boss menu from the script
    TriggerEvent('qb-bossmenu:client:OpenMenu')
end
function AddFund(amount, job)
    if GetResourceState('qb-management') == 'started' then
        exports['qb-management']:AddMoney(job, amount)
    end
end
function SetVehicleFuel(veh, amt)
    exports['LegacyFuel']:SetFuel(veh, amt)
end