Integration

This is an entire page on what you can integrate with

Minigame

By default we use ps-ui for the fishing minigame however, in the DHS-Fishing/client/editablefunctions.lua you can edit this to match whatever minigame you want.

function TriggerFishingMinigame()
    local player = Framework.Player
    local passed = false
    exports['ps-ui']:Circle(function(success)
            if success then
                passed = true
            else
                passed = false
            end
        end, Config.DifficultySettings[player.Metadata.fishinglvl].MinigameCircleNum,
        Config.DifficultySettings[player.Metadata.fishinglvl].MinigameCircleMS) -- NumberOfCircles, MS
    return passed
end

Dispatch Function

By default we use qbcore built in system however we have support for both:

  • ps-dispatch

  • cd-dispatch

however if you know what you are doing you can implement your own as well.

  • DHS-Fishing/client/editablefunctions.lua


Notify System

By default we use the built in qbcore notify system however we also support ox_lib notify but if you know what you are doing you can integrate this as well.

  • DHS-Fishing/client/editablefunctions.lua


Last updated