Integration

This is an entire page on what you can integrate with

circle-exclamation

Reset Clothing

circle-info

By Default we use Illenium appearance however you can change this to whatever you use

  • DHS-BrewsAndWines/client/editablefunctions_cl.lua

function ResetClothing()
    if Config.Clothing == "illenium-appearance" then
        TriggerEvent("illenium-appearance:client:reloadSkin")
    elseif Config.Clothing == "custom" then
        --Custom Clothing System Here
    end
end

Fuel System

circle-info

We support many different fuel systems and we make it quite easy to add your own

local fuelEvent = nil

function RefuelVehicle(vehicle)
    if GetResourceState('ox_fuel') ~= 'started' then
      exports[fuelEvent]:SetFuel(vehicle, 100)
      return
    elseif GetResourceState('ox_fuel') == 'started' then
      Entity(vehicle).state.fuel = 100.0
      return
    end
    print('ERROR: No Fuel Resource Detected')
    fuelEvent = nil
end

CreateThread(function()
    if GetResourceState('LegacyFuel') == 'started' then
       fuelEvent = 'LegacyFuel'
       return
    end
    if GetResourceState('cdn-fuel') == 'started' then
      fuelEvent = 'cdn-fuel'
      return
    end
    if GetResourceState('BigDaddy-Fuel') == 'started' then
      fuelEvent = 'BigDaddy-Fuel'
      return
    end
    if GetResourceState('ps-fuel') == 'started' then
      fuelEvent = 'ps-fuel'
      return
    end
    if GetResourceState('okokGasStation') == 'started' then
      fuelEvent = 'okokGasStation'
      return
    end
    if GetResourceState('qs-fuelstations') == 'started' then
        fuelEvent = 'qs-fuelstations'
        return
    end
    if GetResourceState('lc_fuel') == 'started' then
        fuelEvent = 'lc_fuel'
        return
    end
end)

Give Keys Function

circle-info

If your using a different vehicle key system put it here


Lockpick Minigame

circle-info

The Lockpick minigame used for breaking into beehives


Grape Picking Minigame

circle-info

The minigame used to pick grapes


If HoneyUsesMetadata is false

circle-info

If Config.HoneyUsesMetadata is false refer to this for installation

1) Make sure to install the optional items these will be

  • jar_of_floral_honey

  • jar_of_spiced_honey

  • jar_of_grape_infused_honey

  • jar_of_moonlight_honey

  • jar_of_smoked_honey

  • jar_of_resin_honey

  • jar_of_golden_honey

  • jar_of_floral_golden_honey

  • jar_of_spiced_golden_honey

  • jar_of_grape_infused_golden_honey

  • jar_of_moonlight_golden_honey

  • jar_of_smoked_golden_honey

  • jar_of_resin_golden_honey

  • jar_of_rotten_honey

  • jar_of_floral_rotten_honey

  • jar_of_spiced_rotten_honey

  • jar_of_grape_infused_rotten_honey

  • jar_of_moonlight_rotten_honey

  • jar_of_smoked_rotten_honey

  • jar_of_resin_rotten_honey

2) Go into the peds_config.lua and change the Honey Buyer to this

3) Installation for not using metadata has finished good job!


Last updated