Skip to content

Commit

Permalink
Merge pull request #62 from singh-manavv/main
Browse files Browse the repository at this point in the history
Updated keyminigame export with qb-minigames
  • Loading branch information
GhzGarage authored Feb 16, 2024
2 parents cade84f + d625074 commit 22e2107
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,9 @@ end

local function StartHotdogMinigame()
PrepareAnim()
TriggerEvent('qb-keyminigame:show')
TriggerEvent('qb-keyminigame:start', FinishMinigame)
local result = exports['qb-minigames']:KeyMinigame(10)
if result.quit then return end
FinishMinigame(result.faults)
end

local function HotdogLoop()
Expand Down

0 comments on commit 22e2107

Please sign in to comment.